Spaces:
Sleeping
Sleeping
Commit
·
ff372a6
1
Parent(s):
6a25315
Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use an official Python runtime as a parent image
|
| 2 |
+
FROM python:3.11
|
| 3 |
+
|
| 4 |
+
# Copy the entrypoint script into the container
|
| 5 |
+
COPY entrypoint.sh /entrypoint.sh
|
| 6 |
+
|
| 7 |
+
# Grant execute permissions to the entrypoint script
|
| 8 |
+
RUN chmod +x /entrypoint.sh
|
| 9 |
+
|
| 10 |
+
# Set the entrypoint script as the default entrypoint for the container
|
| 11 |
+
ENTRYPOINT ["/entrypoint.sh"]
|