add dockerfile

This commit is contained in:
2025-05-23 15:45:48 +02:00
parent 10b47d2f13
commit 364b6825c4

17
Dockerfile Normal file
View File

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