TextModSimple / Dockerfile
DarwinAnim8or's picture
Create Dockerfile
8289f5b
raw
history blame
435 Bytes
# 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"]