Files
flask-formula10/Dockerfile
Christoph Urlacher a91e702b13
Some checks failed
Build Formula10 Docker Image / build-docker (push) Failing after 16s
Update dockerfile
2024-02-24 18:04:59 +01:00

11 lines
305 B
Docker

# syntax=docker/dockerfile:1
FROM public.ecr.aws/docker/library/python:3.11.8-slim-bookworm
RUN apt-get update -y
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
EXPOSE 5000
CMD ["python3", "-u", "-m", "flask", "--app", "formula10", "--host", "0.0.0.0"]