From 281e71b5a13a149857996755c17221db5b0f8f4c Mon Sep 17 00:00:00 2001 From: shel bernstein Date: Sun, 26 Nov 2023 08:56:57 -0600 Subject: [PATCH] fix demo --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a85acf8..8ca0437 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ COPY --link . . RUN yarn run build # Remove development dependencies -RUN yarn install --production=true +RUN yarn install # Final stage for app image @@ -44,4 +44,4 @@ COPY --from=build /app/dist /usr/share/nginx/html # Start the server by default, this can be overwritten at runtime EXPOSE 80 -CMD [ "/usr/sbin/nginx", "-g", "daemon off;" ] +CMD [ "npm", "run", "start" ]