Skip to content

Commit

Permalink
Merge pull request #60 from theodo/improve-build-time
Browse files Browse the repository at this point in the history
Improve build time
  • Loading branch information
phacks authored Oct 25, 2019
2 parents e2110ff + 543b8e0 commit 179f1ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM node:8.12-alpine AS node
WORKDIR /code

COPY ./frontend/package.json ./frontend/yarn.lock /code/
RUN yarn install --pure-lockfile
RUN yarn install --pure-lockfile --ignore-scripts

COPY ./frontend/ /code/
RUN yarn build
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
set -euo pipefail

export DOCKER_BUILDKIT=1

# Build the compile stage:
docker build --target node \
--cache-from=falco/falco-front:compile-stage \
Expand Down

0 comments on commit 179f1ab

Please sign in to comment.