Use Gitea actions instead of woodpecker
All checks were successful
build

This commit is contained in:
2023-03-27 23:54:12 +02:00
parent eb911056ba
commit 25dca8a869
5 changed files with 82 additions and 50 deletions

14
backend/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.8
WORKDIR /app
ADD ./backend/requirements.txt /app/requirements.txt
RUN pip install --upgrade -r requirements.txt
EXPOSE 8080
COPY ./backend/ /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