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 4ea3c67 commit 283e0aaCopy full SHA for 283e0aa
Dockerfile
@@ -5,19 +5,16 @@ COPY . /app
5
WORKDIR /app
6
ARG DEBIAN_FRONTEND=noninteractive
7
8
-RUN npm install -g bower
9
-RUN npm install
10
-
11
-#RUN adduser --disabled-password --gecos "" modular
12
13
-RUN chown -R node:node /app
+RUN npm install -g bower \
+&& npm install \
+&& chown -R node:node /app \
+&& npm cache clean --force
14
15
USER node
16
17
RUN bower install
18
19
EXPOSE 4000
20
21
-USER root
22
CMD ["npm", "start"]
23
0 commit comments