Cleanup
All checks were successful
/ test (push) Successful in 17s
/ build (push) Successful in 2s

This commit is contained in:
phil 2024-11-03 19:44:10 +01:00
parent 5a9f28dfb4
commit 2d0b788728

View file

@ -1,15 +0,0 @@
# FIXME: do not use hardcoded registry
FROM tiptop:5000/trixie_python
WORKDIR /app
ENV PYTHONPATH $UV_PROJECT_ENVIRONMENT/lib/python3.12/site-packages
COPY --from=tiptop:5000/treetrail_backend_deps /app /app
#COPY --from=tiptop:5000/treetrail_backend_deps /var/lib/treetrail/ /var/lib/treetrail
COPY ./treetrail ./pyproject.toml ./README.md ./
# Instances should override the prod.yaml file
#COPY ./prod.yaml /etc/treetrail/prod.yaml
CMD ["uvicorn", "treetrail.application:app", "--port", "8081", "--log-config", "logging.yaml", "--host", "0.0.0.0"]