-
Thomas van den Berg authoredThomas van den Berg authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Dockerfile 296 B
FROM arm32v7/node:16 AS build-env
WORKDIR /usr/src/app
# Environment variables for production
ENV NODE_ENV=production
COPY package*.json ./
RUN yarn install
COPY . .
RUN yarn run build
RUN yarn run generate
FROM arm32v7/nginx:alpine
COPY --from=0 dist ./html
COPY html /usr/share/nginx/html