Skip to content

Commit 52e0845

Browse files
committed
Verbose startup script.
1 parent 8230326 commit 52e0845

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ COPY . .
2727
RUN npm i
2828
RUN npm i -g http-server
2929

30-
3130
# Create a start script that respects runtime environment variables
3231
RUN echo '#!/bin/sh\n\
32+
echo "Starting build"\n\
3333
npm run all:build\n\
34-
cp packages/client/dist/index.html packages/client/dist/404.html\n\
34+
echo "App built successfully"\n\
35+
cp -v packages/client/dist/index.html packages/client/dist/404.html\n\
36+
echo "Starting server"\n\
3537
http-server -p 80 packages/client/dist' > /app/start.sh
3638

3739
RUN chmod +x /app/start.sh

0 commit comments

Comments
 (0)