dev-users / Dockerfile
Hiren122's picture
Create Dockerfile
4704976 verified
raw
history blame contribute delete
326 Bytes
FROM python:3.9
# Set up the working directory
WORKDIR /app
# Copy the requirements file and install dependencies
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Copy the rest of the application code
COPY . .
# Run the application on port 7860
CMD ["python", "app.py"]