We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8230326 commit 52e0845Copy full SHA for 52e0845
Dockerfile
@@ -27,11 +27,13 @@ COPY . .
27
RUN npm i
28
RUN npm i -g http-server
29
30
-
31
# Create a start script that respects runtime environment variables
32
RUN echo '#!/bin/sh\n\
+echo "Starting build"\n\
33
npm run all:build\n\
34
-cp packages/client/dist/index.html packages/client/dist/404.html\n\
+echo "App built successfully"\n\
35
+cp -v packages/client/dist/index.html packages/client/dist/404.html\n\
36
+echo "Starting server"\n\
37
http-server -p 80 packages/client/dist' > /app/start.sh
38
39
RUN chmod +x /app/start.sh
0 commit comments