You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker/app/Dockerfile
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,23 @@ RUN npm config set unsafe-perm true && npm install -g [email protected]
10
10
RUN mkdir -p /data
11
11
WORKDIR /data
12
12
13
-
# unsafe-perm true is required to work around an npm bug since we are running as root, have a git+HTTPS repo source and it has a `prepare` script (perfect storm).
14
-
# see https://github.com/npm/npm/issues/17346
15
-
COPY package.json package-lock.json ./
16
-
RUN npm config set unsafe-perm true && npm install --legacy-peer-deps
13
+
# copy npm cache directory; as optimization for npm install
# unsafe-perm true is required to work around an npm bug since we are running as root, have a git+HTTPS repo source and it has a `prepare` script (perfect storm).
21
+
# see https://github.com/npm/npm/issues/17346
22
+
RUN npm config set unsafe-perm true && npm install --legacy-peer-deps
21
23
22
24
# copy in src local files
25
+
# Note: *.html files in src/angular-app aren't necessary for webpack compilation, however changes to HTML files will invalidate this layer
0 commit comments