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.
2 parents d761d0a + 0eb3890 commit 7eaf1d5Copy full SHA for 7eaf1d5
Dockerfile
@@ -2,17 +2,18 @@ FROM node
2
3
MAINTAINER Michael R. Bernstein
4
5
-RUN useradd -u 9000 -r -s /bin/false app
+WORKDIR /usr/src/app/
6
+
7
+COPY engine.json /
8
+COPY package.json /usr/src/app/
9
10
ENV NODE_ENV production
11
12
RUN npm install
13
-WORKDIR /code
-COPY . /usr/src/app
-COPY engine.json /
14
-
+RUN useradd -u 9000 -r -s /bin/false app
15
USER app
16
-VOLUME /code
17
+COPY . /usr/src/app
18
19
CMD ["/usr/src/app/bin/fixme"]
0 commit comments