Dockerfile korrigiert

This commit is contained in:
2024-01-20 14:12:21 +01:00
parent ec1ebd6a57
commit 3b2ab9b45d

View File

@@ -1,9 +1,9 @@
FROM ubuntu:22.04.03 FROM ubuntu:22.04
RUN apt-get update -y && apt-get install -y python python-pip RUN apt-get update -y && apt-get install -y python3-dev python3-pip
WORKDIR /app WORKDIR /app
COPY ./requirements.txt /app/requirements.txt COPY ./requirements.txt /app/requirements.txt
COPY ./templates /app/templates COPY ./templates /app/templates
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
COPY . /app COPY . /app
CMD [ "python","./app.py" ] CMD [ "python3","./app.py" ]