Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
+
|
| 3 |
+
# Install required tools
|
| 4 |
+
RUN apt-get update && apt-get install -y curl && apt-get clean
|
| 5 |
+
|
| 6 |
+
# Copy Python script to container
|
| 7 |
+
COPY x.py /app/check_region.py
|
| 8 |
+
WORKDIR /app
|
| 9 |
+
|
| 10 |
+
CMD ["python", "check_region.py"]
|