Kashtan's picture
Upload 44 files
7a0ff7a verified
raw
history blame
365 Bytes
# Use an official Python runtime
FROM python:3.8-slim
# Set the working directory
WORKDIR /app
# Copy the requirements file
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the app
COPY . .
# Expose the Flask port
EXPOSE 5000
# Run the application
CMD ["python", "app.py"]