awacke1's picture
Update Dockerfile
b8f61f5 verified
raw
history blame
406 Bytes
FROM python:3.9
# Install OpenGL dependencies
RUN apt-get update && \
apt-get install -y libgl1-mesa-glx libgl1-mesa-dev
# Set the working directory in the container
WORKDIR /app
# Copy the app.py script to the working directory
COPY app.py .
# Install the required Python dependencies
RUN pip install pyglet arcade pygame
# Run the app.py script when the container starts
CMD ["python", "app.py"]