Trying to fix pipeline 4
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2023-03-13 15:03:37 +01:00
parent c267cd4f08
commit 5aa3f15a42
4 changed files with 11 additions and 11 deletions

View File

@@ -1,14 +0,0 @@
FROM python:3.8
WORKDIR /app
ADD requirements.txt /app/requirements.txt
RUN pip install --upgrade -r requirements.txt
EXPOSE 8080
COPY ./ /app
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]
HEALTHCHECK --interval=1m --timeout=3s CMD curl --fail http://localhost:8080/health || exit 1