Spaces:
Sleeping
Sleeping
tmzh
commited on
Commit
•
03c066e
1
Parent(s):
e67b4e1
update dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -10,8 +10,11 @@ ADD . /app
|
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
-
# Make port
|
14 |
-
EXPOSE
|
|
|
|
|
|
|
15 |
|
16 |
# Run app.py when the container launches
|
17 |
CMD ["python", "app.py"]
|
|
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
+
# Make port 7860 available to the world outside this container
|
14 |
+
EXPOSE 7860
|
15 |
+
|
16 |
+
# Define environment variable
|
17 |
+
ENV NAME World
|
18 |
|
19 |
# Run app.py when the container launches
|
20 |
CMD ["python", "app.py"]
|