Merge pull request #3660 from overleaf/ae-dockerfile

Create and chown node_modules in Dockerfile

GitOrigin-RevId: fcc7d30e47ecf1b9ab64efe63779ca050c2ba235
This commit is contained in:
Timothée Alby 2021-02-18 12:47:07 +01:00 committed by Copybot
parent cbd4df6e29
commit 32a4990776

View file

@ -10,6 +10,7 @@ RUN apt-get update \
&& apt-get install -y parallel \ && apt-get install -y parallel \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN mkdir /app/node_modules && chown node:node /app/node_modules
# the deps image is used for caching npm ci # the deps image is used for caching npm ci
FROM base as deps FROM base as deps