exlude puppeteer from docker build

Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
Danny Coates 2020-07-29 14:20:39 -07:00 committed by timvisee
parent c44c4ba41c
commit e0f51c7fde
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
1 changed files with 1 additions and 2 deletions

View File

@ -16,13 +16,12 @@ RUN set -x \
--home /app \
--uid 10001 \
app
RUN npm i -g npm
COPY --chown=app:app . /app
USER app
WORKDIR /app
RUN set -x \
# Build
&& npm ci \
&& PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm ci \
&& npm run build