Skip to content

Commit cf3a222

Browse files
committed
updated docker file
1 parent 550583a commit cf3a222

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
FROM node:latest
1+
FROM node:latest
22

3-
MAINTAINER Mark Hughes
3+
MAINTAINER Mark Hughes
44

5-
ENV NODE_ENV=production
6-
ENV PORT=3000
5+
ENV NODE_ENV=production
6+
ENV PORT=3000
77

8-
COPY . /var/www
9-
WORKDIR /var/www
8+
COPY . /var/www
9+
WORKDIR /var/www
1010

11-
VOLUME ["/var/www"]
11+
VOLUME ["/var/www"]
1212

13-
RUN npm install
13+
RUN npm install
1414

15-
EXPOSE $PORT
15+
EXPOSE $PORT
1616

17-
ENTRYPOINT ["npm", "start"]
17+
ENTRYPOINT["npm", "start"]

0 commit comments

Comments
 (0)