Skip to content

Commit

Permalink
Improved Dockerfile (#110)
Browse files Browse the repository at this point in the history
I  put together some docker instructions. This changes will impact on the image size.
  • Loading branch information
brunocascio authored and ArekSredzki committed Jan 3, 2017
1 parent 287ce64 commit fa8c190
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Expand Up @@ -6,9 +6,9 @@ WORKDIR /usr/src/electron-release-server

# Install app dependencies
COPY package.json .bowerrc bower.json /usr/src/electron-release-server/
RUN npm install
RUN ./node_modules/.bin/bower install --allow-root
RUN npm cache clean
RUN npm install \
&& ./node_modules/.bin/bower install --allow-root \
&& npm cache clean

# Bundle app source
COPY . /usr/src/electron-release-server
Expand Down

0 comments on commit fa8c190

Please sign in to comment.