diff --git a/Dockerfile b/Dockerfile index 2ef88c6f43974e03fafcedb20763e4f7e31c6dbd..07c62d1453e2931ad65e517c15e9d90ba46c6e7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,12 @@ COPY ./package.json /app/package.json WORKDIR /app # Install npm dependencies RUN npm install -RUN npm run postinstall # Copy the project COPY . /app +# Launch postinstall script (to include crypto module) +RUN npm run postinstall + ARG env # Building the Angular app /dist i18n