diff --git a/Dockerfile.develop b/Dockerfile.develop index 237c1e2e..b3e74cdd 100644 --- a/Dockerfile.develop +++ b/Dockerfile.develop @@ -25,7 +25,7 @@ ENV KEYCLOAK_REALM $KEYCLOAK_REALM ENV KEYCLOAK_CLIENT_ID $KEYCLOAK_CLIENT_ID ENV OBSERVATORY_API_URL $OBSERVATORY_API_URL COPY . . -RUN npm install +RUN npm ci RUN npm run build RUN npm run generate #stage 2 diff --git a/Dockerfile.develop2 b/Dockerfile.develop2 index 47b558bd..4fe8f395 100644 --- a/Dockerfile.develop2 +++ b/Dockerfile.develop2 @@ -25,7 +25,7 @@ ENV KEYCLOAK_REALM $KEYCLOAK_REALM ENV KEYCLOAK_CLIENT_ID $KEYCLOAK_CLIENT_ID ENV OBSERVATORY_API_URL $OBSERVATORY_API_URL COPY . . -RUN npm install +RUN npm ci RUN npm run build RUN npm run generate #stage 2 diff --git a/Dockerfile.production b/Dockerfile.production index 1006ba88..c4dbe64d 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -25,7 +25,7 @@ ENV KEYCLOAK_REALM $KEYCLOAK_REALM ENV KEYCLOAK_CLIENT_ID $KEYCLOAK_CLIENT_ID ENV OBSERVATORY_API_URL $OBSERVATORY_API_URL COPY . . -RUN npm install +RUN npm ci RUN npm run build RUN npm run generate #stage 2 diff --git a/README.md b/README.md index 96cf8bb2..92951761 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ The respective docker compose files for the oeb landscape can be found in this r ```bash # install dependencies -$ npm install +$ npm ci # serve with hot reload at localhost:3000 $ npm run dev