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"]