Spaces:
Sleeping
Sleeping
File size: 384 Bytes
3a68c3f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # 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"] |