Spaces:
Sleeping
Sleeping
mkManishKumar
commited on
Commit
•
23b403b
1
Parent(s):
5ad047f
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -7,7 +7,7 @@ WORKDIR /app
|
|
7 |
COPY . /app
|
8 |
|
9 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y && apt-get install -y python3-opencv
|
10 |
-
|
11 |
# Install any needed dependencies specified in requirements.txt
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
@@ -18,4 +18,4 @@ EXPOSE 5000
|
|
18 |
ENV NAME World
|
19 |
|
20 |
# Run app.py when the container launches
|
21 |
-
CMD ["
|
|
|
7 |
COPY . /app
|
8 |
|
9 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y && apt-get install -y python3-opencv
|
10 |
+
RUN pip install gunicorn
|
11 |
# Install any needed dependencies specified in requirements.txt
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
|
|
18 |
ENV NAME World
|
19 |
|
20 |
# Run app.py when the container launches
|
21 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
|