some deployments worked out
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM python:3
|
||||
FROM docker.io/python:3-slim
|
||||
|
||||
WORKDIR /app
|
||||
COPY requirements.txt requirements.txt
|
||||
@@ -7,7 +7,4 @@ COPY . .
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
HEALTHCHECK --interval=10s --timeout=5s --retries=3 --start-period=10s \
|
||||
CMD python healthcheck.py http://localhost/api/ || exit 1
|
||||
|
||||
CMD ["fastapi", "run", "main.py", "--port", "80", "--proxy-headers"]
|
||||
Reference in New Issue
Block a user