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.
2020-07-28 10:30:25 +00:00
|
|
|
FROM node:14.5.0 AS webportal-builder
|
2020-07-27 13:40:26 +00:00
|
|
|
|
|
|
|
COPY src ./src
|
|
|
|
COPY static ./static
|
|
|
|
COPY gatsby-config.js .
|
|
|
|
COPY package.json .
|
|
|
|
COPY yarn.lock .
|
|
|
|
|
|
|
|
ENV CYPRESS_INSTALL_BINARY 0
|
|
|
|
RUN yarn --frozen-lockfile
|
|
|
|
RUN yarn build
|
|
|
|
|
|
|
|
FROM openresty/openresty:1.15.8.3-2-xenial
|
|
|
|
|
|
|
|
COPY --from=webportal-builder /public /var/www/webportal
|