File size: 344 Bytes
43bc75f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Use the official Python image from Docker Hub
FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /app
# Copy the current directory contents into the container
COPY . .
# Install the required Python packages
RUN pip install --no-cache-dir -r requirements.txt
# Command to run the application
CMD ["python", "app.py"] |