use alpine image for webapp

This commit is contained in:
Karol Wypchlo 2020-10-13 15:49:51 +02:00
parent b06ebaea72
commit 5e61f78a2a
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
FROM node:14.13.1 FROM node:14.13.1-alpine
RUN apk add --no-cache autoconf automake libtool gcc make g++ zlib-dev file nasm util-linux
WORKDIR /usr/app WORKDIR /usr/app
@ -10,4 +12,4 @@ COPY package.json .
ENV CYPRESS_INSTALL_BINARY 0 ENV CYPRESS_INSTALL_BINARY 0
ENV GATSBY_TELEMETRY_DISABLED 1 ENV GATSBY_TELEMETRY_DISABLED 1
RUN yarn --no-lockfile RUN yarn --no-lockfile
RUN yarn build RUN yarn build