Spaces:
Runtime error
Runtime error
File size: 468 Bytes
8e187c7 89cdc78 8e187c7 89cdc78 8e187c7 89cdc78 8e187c7 89cdc78 8e187c7 89cdc78 8e187c7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Use a base image with Python 3.9
FROM python:3.9
# Set the working directory in the container
WORKDIR /code
# Copy the requirements file to the container
COPY ./requirements.txt /code/requirements.txt
# Install the Python dependencies
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy the entire content of the current directory into the container
COPY . .
# Specify the command to run when the container starts
CMD ["python", "app.py"]
|