Skip to content

Commit 0726570

Browse files
KellyKelly
Kelly
authored and
Kelly
committed
small updates
just to be able to get it to un on a mac
1 parent db82a47 commit 0726570

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
.git

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ FROM node:8.11.2
33
LABEL app="redis-manager" version="1.0"
44

55
WORKDIR /opt/app
6-
COPY . .
7-
6+
# install and cache app dependencies
7+
COPY package.json /opt/app/package.json
88
RUN npm install
9+
COPY . .
910

1011
EXPOSE 3003
11-
CMD ["npm", "start"]
12+
CMD ["npm", "run", "start"]

0 commit comments

Comments
 (0)