my-flask-app / Dockerfile
SubashUbahs's picture
Upload 4 files
9dc020d verified
Raw History Blame Contribute Delete
301 Bytes
# Use Python 3.10 as the base image
FROM python:3.10
# Set working directory
WORKDIR /app
# Copy all files to the container
COPY . /app
# Install required packages
RUN pip install -r requirements.txt
# Expose port 7860
EXPOSE 7860
# Run the Flask app
CMD ["python", "server.py"]