Bn0mar / Dockerfile
Mousa0mar's picture
Dockerfile
43bc75f verified
raw
history blame contribute delete
344 Bytes
# 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"]