Spaces:
Sleeping
Sleeping
Commit
·
17361e8
1
Parent(s):
e3c447a
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -18,10 +18,12 @@ COPY functions.py functions.py
|
|
18 |
COPY app.py app.py
|
19 |
COPY start.sh start.sh
|
20 |
|
21 |
-
|
22 |
RUN pip install flask
|
23 |
RUN pip install gunicorn
|
24 |
RUN pip install flask-cors
|
25 |
|
|
|
|
|
|
|
26 |
# Command to start the Flask app with Gunicorn
|
27 |
-
CMD ["start.sh"]
|
|
|
18 |
COPY app.py app.py
|
19 |
COPY start.sh start.sh
|
20 |
|
|
|
21 |
RUN pip install flask
|
22 |
RUN pip install gunicorn
|
23 |
RUN pip install flask-cors
|
24 |
|
25 |
+
RUN chmod +x start.sh
|
26 |
+
|
27 |
+
|
28 |
# Command to start the Flask app with Gunicorn
|
29 |
+
CMD ["./start.sh"]
|