players2 / Dockerfile
Geek7's picture
Update Dockerfile
72fddae verified
raw
history blame
385 Bytes
# Use official Python base image
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Copy requirements file (you need to create this)
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Expose the port your app runs on
EXPOSE 5000
# Run the server with eventlet
CMD ["python", "server.py"]