Spaces:
Sleeping
Sleeping
thewellermangroup
commited on
Commit
•
10ec6b8
1
Parent(s):
3976ceb
Update Dockerfile
Browse files- Dockerfile +7 -10
Dockerfile
CHANGED
@@ -18,14 +18,11 @@ RUN pip install flask
|
|
18 |
RUN pip install gunicorn
|
19 |
RUN pip install flask-cors
|
20 |
|
21 |
-
|
22 |
-
COPY
|
23 |
-
COPY
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
RUN chmod +x start.sh
|
29 |
-
# Command to start the Flask app with Gunicorn
|
30 |
-
CMD ["./start.sh"]
|
31 |
|
|
|
18 |
RUN pip install gunicorn
|
19 |
RUN pip install flask-cors
|
20 |
|
21 |
+
COPY /FUNCTIONS/functions.py /FUNCTIONS/functions.py
|
22 |
+
COPY app.py app.py
|
23 |
+
COPY /FUNCTIONS/FUNCTIONS.txt /FUNCTIONS/FUNCTIONS.txt
|
24 |
+
|
25 |
+
RUN /FUNCTIONS/functions.py
|
26 |
+
|
27 |
+
CMD ["gunicorn","-b","0.0.0.0:7860", "app:app","--timeout","950"]
|
|
|
|
|
|
|
28 |
|