Spaces:
Building
Building
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
|
3 |
+
# Set the working directory in the container
|
4 |
+
WORKDIR /app
|
5 |
+
|
6 |
+
# Copy the app.py script to the working directory
|
7 |
+
COPY app.py .
|
8 |
+
|
9 |
+
# Install the required dependencies
|
10 |
+
RUN pip install pyglet arcade pygame
|
11 |
+
|
12 |
+
# Run the app.py script when the container starts
|
13 |
+
CMD ["python", "app.py"]
|