Skip to content

Commit 8435725

Browse files
authored
Add node sass deps (#393)
1 parent fe374e4 commit 8435725

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docker/php-flex/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,13 @@ FROM node:13-alpine AS withsources-npm
110110
WORKDIR /srv
111111

112112
COPY package.json webpack.config.js yarn.lock ./
113-
RUN yarn install --pure-lockfile
113+
114+
RUN apk --no-cache --update --virtual build-dependencies add \
115+
python \
116+
make \
117+
g++ \
118+
&& yarn install --pure-lockfile \
119+
&& apk del build-dependencies
114120

115121
COPY assets assets/
116122
RUN yarn encore production

0 commit comments

Comments
 (0)