freeplay2api / Dockerfile
bibibi12345's picture
first commit
3a68c3f
# Start from a standard Python base image
FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /app
# Copy all project files into the container
COPY . .
# Install the Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the application port
EXPOSE 7860
# Specify the command to run the application
CMD ["python", "freeplay2api.py"]