From 364b6825c4d712283551e958bb07bc6c264583c9 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Fri, 23 May 2025 15:45:48 +0200 Subject: [PATCH] add dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..005db73 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# Use the official Python image as the base image +FROM python:3.11-slim + +# Set the working directory in the container +WORKDIR /app + +# Copy the application files into the container +COPY . /app + +# Install dependencies +RUN pip install --no-cache-dir -r requirements.txt + +# Expose the port the app runs on +EXPOSE 5001 + +# Set the default command to run the application +CMD ["python", "src/app.py"]