veltrixcode commited on
Commit
1331aaf
·
verified ·
1 Parent(s): ab4b3a8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 wget -qO- https://ipinfo.io/country
 
 
 
 
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