Skip to content
This repository was archived by the owner on Nov 15, 2019. It is now read-only.

Don't regenerate yarn.lock on build #22

Merged
merged 1 commit into from
Oct 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ RUN apk add --no-cache --virtual .dep build-base python git bash && \
rm -f /hackmd/config.json && ln -s /files/config.json /hackmd/config.json && \
rm -f /hackmd/.sequelizerc && ln -s /files/.sequelizerc /hackmd/.sequelizerc && \
# Install NPM dependencies and build project
yarn install && \
yarn install --production=false && \
yarn install --pure-lockfile && \
yarn install --production=false --pure-lockfile && \
yarn global add webpack && \
npm run build && \
# Clean up this layer
Expand Down
4 changes: 2 additions & 2 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main" > /etc/
rm -f /hackmd/.sequelizerc && ln -s /files/.sequelizerc /hackmd/.sequelizerc && \

# Install NPM dependencies and build project
yarn install && \
yarn install --production=false && \
yarn install --pure-lockfile && \
yarn install --production=false --pure-lockfile && \
yarn global add webpack && \
npm run build && \

Expand Down