Spaces:
Build error
Build error
Commit
·
cd4823c
1
Parent(s):
19daed1
Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
@@ -76,9 +76,10 @@ EXPOSE 5001
|
|
76 |
#CMD ["nginx", "-g", "daemon off;"]
|
77 |
#CMD ["python3", "-m", "http.server", "3000"]
|
78 |
#COPY start.sh .
|
79 |
-
|
80 |
#CMD ["start.sh"]
|
81 |
-
RUN yarn
|
82 |
-
RUN
|
83 |
-
|
|
|
84 |
#CMD ["yarn", "start:production"]
|
|
|
76 |
#CMD ["nginx", "-g", "daemon off;"]
|
77 |
#CMD ["python3", "-m", "http.server", "3000"]
|
78 |
#COPY start.sh .
|
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"]
|