biba2 / Dockerfile
moona99's picture
Duplicate from doctord98/biba
88a3939
raw
history blame
442 Bytes
# Use the official Python base image with version 3.10
FROM python:3.10
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements.txt file to the container
COPY requirements.txt .
# Install the Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy all files to the container
COPY . .
# Expose port 7860
EXPOSE 7860
# Set the entrypoint command to run main.py
CMD ["python", "main.py"]