Skip to content

Commit 543b8e0

Browse files
committed
Ignore script when installing front dependencies
1 parent 43bca6f commit 543b8e0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM node:8.12-alpine AS node
44
WORKDIR /code
55

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

99
COPY ./frontend/ /code/
1010
RUN yarn build

build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
set -euo pipefail
33

4+
export DOCKER_BUILDKIT=1
5+
46
# Build the compile stage:
57
docker build --target node \
68
--cache-from=falco/falco-front:compile-stage \

0 commit comments

Comments
 (0)