This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
2021-02-09 10:28:15 +00:00
|
|
|
FROM node:15.8.0-alpine
|
2020-10-13 13:49:51 +00:00
|
|
|
|
|
|
|
RUN apk add --no-cache autoconf automake libtool gcc make g++ zlib-dev file nasm util-linux
|
2020-07-30 12:23:49 +00:00
|
|
|
|
|
|
|
WORKDIR /usr/app
|
|
|
|
|
2021-02-01 20:05:22 +00:00
|
|
|
ARG WITH_ACCOUNTS=0
|
|
|
|
|
2020-07-30 12:23:49 +00:00
|
|
|
COPY src ./src
|
|
|
|
COPY static ./static
|
|
|
|
COPY gatsby-config.js .
|
|
|
|
COPY package.json .
|
|
|
|
|
|
|
|
ENV CYPRESS_INSTALL_BINARY 0
|
|
|
|
RUN yarn --no-lockfile
|
2021-02-01 20:05:22 +00:00
|
|
|
|
|
|
|
ENV GATSBY_TELEMETRY_DISABLED 1
|
|
|
|
ENV GATSBY_WITH_ACCOUNTS $WITH_ACCOUNTS
|
2020-10-13 13:49:51 +00:00
|
|
|
RUN yarn build
|