logging cleanup
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m9s
Run linting on the backend code / Build (pull_request) Failing after 30s
Run testing on the backend code / Build (pull_request) Failing after 1m41s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 18s

This commit is contained in:
2024-12-28 22:25:42 +01:00
parent c448e2dfb7
commit fa083a1080
8 changed files with 118 additions and 52 deletions

View File

@@ -7,6 +7,7 @@ RUN pip install pipenv
RUN pipenv install --deploy --system
COPY src src
COPY launcher.py .
EXPOSE 8000
@@ -14,5 +15,6 @@ EXPOSE 8000
ENV NUM_WORKERS=1
ENV OSM_CACHE_DIR=/cache
ENV MEMCACHED_HOST_PATH=none
ENV LOKI_URL=none
CMD fastapi run src/main.py --port 8000 --workers $NUM_WORKERS
CMD ["python", "launcher.py"]