All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
14 lines
326 B
Docker
14 lines
326 B
Docker
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 |