From 0a18f2eee25f400aa9eb6ad48db3344373bc3a58 Mon Sep 17 00:00:00 2001 From: Xanders25 Date: Mon, 16 Dec 2024 18:33:45 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index 10a92e6..e00b5f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,18 @@ -# Use the official Python image with a specific version -FROM python:3.10-slim - -# Set the working directory -WORKDIR /app - -# Copy requirements and install them (if there were any) -COPY requirements.txt /app/ -RUN pip install -r requirements.txt - -# Copy the rest of the application code -COPY . /app - -# Expose the port the app runs on -EXPOSE 5000 - -# Command to run the application -CMD ["python", "app.py"] \ No newline at end of file +# Use the official Python image with a specific version +FROM python:3.10-slim + +# Set the working directory +WORKDIR /app + +# Copy requirements and install them (if there were any) +COPY requirements.txt /app/ +RUN pip install -r requirements.txt + +# Copy the rest of the application code +COPY . /app + +# Expose the port the app runs on +EXPOSE 5000 + +# Command to run the application +CMD ["python", "app/app.py"] \ No newline at end of file