diff --git a/apps/strapi-cms/Dockerfile b/apps/strapi-cms/Dockerfile index abb3d0eefd..560e6807b3 100644 --- a/apps/strapi-cms/Dockerfile +++ b/apps/strapi-cms/Dockerfile @@ -8,7 +8,7 @@ ENV NODE_ENV=${NODE_ENV} WORKDIR /opt/ COPY package*.json ./ -RUN npm config set fetch-retry-maxtimeout 600000 -g && npm install --ignore-scripts +RUN npm config set fetch-retry-maxtimeout 600000 -g && npm install ENV PATH /opt/node_modules/.bin:$PATH WORKDIR /opt/app COPY . . @@ -28,4 +28,4 @@ ENV PATH /opt/node_modules/.bin:$PATH RUN chown -R node:node /opt/app USER node EXPOSE 1337 -CMD npm run start \ No newline at end of file +CMD npm run start