We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 753f75b commit 27c23baCopy full SHA for 27c23ba
templates/Dockerfile.liquid
@@ -14,10 +14,10 @@ ENV PATH /opt/node_modules/.bin:$PATH
14
RUN chown -R strapi:strapi /opt/
15
USER strapi{%- if packageManager == "yarn" %}
16
COPY package.json yarn.lock ./
17
-RUN yarn config set network-timeout 600000 -g && yarn install --production
+RUN yarn config set network-timeout 600000 -g && yarn install
18
{%- else %}
19
COPY package.json package-lock.json ./
20
-RUN npm config set network-timeout 600000 -g && npm install --only=production
+RUN npm config set network-timeout 600000 -g && npm install
21
{%- endif %}
22
23
WORKDIR /opt/app
0 commit comments