Spaces:
Runtime error
Runtime error
File size: 452 Bytes
43317b5 fa36e34 43317b5 fa36e34 43317b5 737ad25 43317b5 fa36e34 43317b5 fa36e34 43317b5 fa36e34 43317b5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# Use an official Python runtime as a parent image
FROM python:3.9
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements file into the container
COPY requirements.txt /app/
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy everything from "Web app" into "/app" in the container
COPY Web\ app /app/
# Expose the port Flask runs on
EXPOSE 5000
# Run Flask app
CMD ["python", "app.py"]
|