Spaces:
Build error
Build error
Commit
·
9bd5591
1
Parent(s):
cd4823c
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -75,11 +75,9 @@ EXPOSE 5001
|
|
75 |
#CMD ["python3", "app.py"]
|
76 |
#CMD ["nginx", "-g", "daemon off;"]
|
77 |
#CMD ["python3", "-m", "http.server", "3000"]
|
78 |
-
|
79 |
RUN chmod +x start.sh
|
80 |
-
#CMD ["start.sh"]
|
81 |
RUN yarn build
|
82 |
-
RUN chmod +x start.sh
|
83 |
CMD ["start.sh"]
|
84 |
#HEALTHCHECK CMD wget -q -O /dev/null http://localhost:5001 || exit 1
|
85 |
#CMD ["yarn", "start:production"]
|
|
|
75 |
#CMD ["python3", "app.py"]
|
76 |
#CMD ["nginx", "-g", "daemon off;"]
|
77 |
#CMD ["python3", "-m", "http.server", "3000"]
|
78 |
+
COPY start.sh .
|
79 |
RUN chmod +x start.sh
|
|
|
80 |
RUN yarn build
|
|
|
81 |
CMD ["start.sh"]
|
82 |
#HEALTHCHECK CMD wget -q -O /dev/null http://localhost:5001 || exit 1
|
83 |
#CMD ["yarn", "start:production"]
|