Webapp zur Darstellung von GREEN SPIDER Daten zu Websites
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
359 B

FROM node:10-slim AS builder
ADD yarn.lock /
ADD package.json /
ADD scripts /scripts
RUN yarn install
ADD config /config
ADD public /public
ADD src /src
RUN yarn build
FROM nginx:1.16-alpine
# move this file, as /etc/nginx/ will be masked by a volume
RUN cp /etc/nginx/mime.types /mime.types
COPY --from=builder /build /usr/share/nginx/html