mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 12:19:06 +00:00
server: refactor to reflector module
- replaced loguru to structlog, to get ability of having open tracing later - moved configuration to pydantic-settings - merged both secrets.ini and config.ini to .env (check reflector/settings.py)
This commit is contained in:
@@ -24,7 +24,6 @@ RUN . /venv/bin/activate && poetry install --only main --no-root --no-interactio
|
||||
FROM base AS final
|
||||
COPY --from=builder /venv /venv
|
||||
RUN mkdir -p /app
|
||||
COPY server.py reflector_dataclasses.py /app/
|
||||
COPY utils /app/utils
|
||||
COPY reflector /app/reflector
|
||||
WORKDIR /app
|
||||
CMD ["/venv/bin/python", "server.py"]
|
||||
CMD ["/venv/bin/python", "-m", "reflector.server"]
|
||||
|
||||
Reference in New Issue
Block a user