File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1- node_modules /
1+ node_modules
2+ package-lock.json
3+ npm-debug.log
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ ENV NODE_ENV production
1010
1111RUN mkdir -p /var/app
1212WORKDIR /var/app
13+ COPY . /var/app
1314
1415# Install MsgFlo and dependencies
15- COPY . /var/app
16- RUN npm install
16+ RUN npm install --only=production
1717
1818# Install msgflo-python
1919RUN apt-get update && apt-get install -y \
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ ENV NODE_ENV production
1010
1111RUN mkdir -p /var/app
1212WORKDIR /var/app
13+ COPY . /var/app
1314
1415# Install MsgFlo and dependencies
15- COPY . /var/app
16- RUN npm install
16+ RUN npm install --only=production
1717
1818# Install msgflo-python
1919RUN apt-get update && apt-get install -y \
You can’t perform that action at this time.
0 commit comments