use alpine image for webapp
This commit is contained in:
parent
b06ebaea72
commit
5e61f78a2a
|
@ -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
|
||||||
|
|
Reference in New Issue