From 9d271336c3eab8e85a168b553f3464fc1811b2d1 Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Wed, 26 Jun 2024 10:57:19 +0200 Subject: [PATCH] optimize dockerfile prod --- .docker/Dockerfile | 1 - .dockerignore | 1 - 2 files changed, 2 deletions(-) diff --git a/.docker/Dockerfile b/.docker/Dockerfile index f41c5bc..fdc3880 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -115,7 +115,6 @@ USER ubuntu COPY --chown=ubuntu:ubuntu front-end/ /app/front-end COPY --chown=ubuntu:ubuntu --from=build /app/front-end/node_modules /app/front-end/node_modules - ENTRYPOINT [""] CMD ["npx", "ng", "serve", "--host", "0.0.0.0"] diff --git a/.dockerignore b/.dockerignore index 885ed03..4bc19d7 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,2 @@ /front-end/node_modules/ -/front-end/dist/ /front-end/.vscode/