Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -1,6 +1,10 @@
|
|
|
|
1 |
|
2 |
# Use a full Python base image (better compatibility with TensorFlow and OpenCV)
|
3 |
FROM python:3.9
|
|
|
|
|
|
|
4 |
|
5 |
# Set the working directory in the container
|
6 |
WORKDIR /app
|
|
|
1 |
+
# Should print 200
|
2 |
|
3 |
# Use a full Python base image (better compatibility with TensorFlow and OpenCV)
|
4 |
FROM python:3.9
|
5 |
+
import requests
|
6 |
+
print(requests.get("https://huggingface.co").status_code) # Should print 200
|
7 |
+
|
8 |
|
9 |
# Set the working directory in the container
|
10 |
WORKDIR /app
|