Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -4,7 +4,11 @@ WORKDIR /app
|
|
| 4 |
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
COPY app.py .
|
| 10 |
|
|
|
|
| 4 |
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
+
RUN python3 - << 'EOF'
|
| 8 |
+
import urllib.request
|
| 9 |
+
print(urllib.request.urlopen("https://ipinfo.io/country").read().decode().strip())
|
| 10 |
+
EOF
|
| 11 |
+
|
| 12 |
|
| 13 |
COPY app.py .
|
| 14 |
|