Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit fe55ba3

Browse files
authored
Update Dockerfile
1 parent f398b80 commit fe55ba3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Dockerfile

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM node:8.4
22

3-
RUN mkdir /app
4-
WORKDIR /app
3+
RUN mkdir -p /opt/camo/
4+
WORKDIR /opt/camo/
55

6-
ADD package.json /app/
7-
RUN npm install
8-
9-
ADD server.js /app/
10-
ADD mime-types.json /app/
6+
ADD package.json /opt/camo/
7+
ADD server.js /opt/camo/
8+
ADD mime-types.json /opt/camo/
119

1210
EXPOSE 8081
11+
12+
RUN npm install
1313
USER nobody
14-
CMD nodejs server.js
14+
CMD ["npm", "start"]

0 commit comments

Comments
 (0)