Spaces:
Sleeping
Sleeping
Commit
·
4a5f5bf
1
Parent(s):
1e5b237
Change port
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -10,11 +10,11 @@ COPY . /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 |
# Define environment variable
|
17 |
ENV NAME becognitium
|
18 |
|
19 |
# Run app.py when the container launches
|
20 |
-
CMD ["gunicorn", "-w 4", "-b 0.0.0.0:
|
|
|
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 becognitium
|
18 |
|
19 |
# Run app.py when the container launches
|
20 |
+
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
|