From 0e4d054e05d022c69011a60d078e0b21641f0466 Mon Sep 17 00:00:00 2001 From: danilyef Date: Fri, 16 Aug 2024 21:24:27 +0200 Subject: [PATCH] Updated Docker file --- homework_2/task1/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/homework_2/task1/Dockerfile b/homework_2/task1/Dockerfile index 85515e9..8c47391 100644 --- a/homework_2/task1/Dockerfile +++ b/homework_2/task1/Dockerfile @@ -1,11 +1,10 @@ FROM python:3.11-alpine -WORKDIR /app - -COPY . /app - +COPY requirements.txt requirements.txt RUN pip install -r requirements.txt +COPY . . + EXPOSE 80 CMD ["python", "app.py"]