Spaces:
Sleeping
Sleeping
File size: 435 Bytes
8289f5b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# Dockerfile
# Use the official Python image as the base image
FROM python:3.9
# Set the working directory
WORKDIR /app
# Copy the requirements file to the working directory
COPY requirements.txt .
# Install the dependencies
RUN pip install -r requirements.txt
# Copy the rest of the files to the working directory
COPY . .
# Expose port 5000
EXPOSE 7860
# Run the start.sh script when the container starts
CMD ["sh", "start.sh"] |