dashboard/Dockerfile

12 lines
245 B
Text
Raw Normal View History

2022-10-18 20:23:46 +02:00
FROM node:14-alpine AS BUILDER
WORKDIR /app
COPY package.json yarn.lock /app/
RUN yarn install
COPY . /app
RUN yarn build
FROM nginx:latest
COPY deployment/nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /app/build /usr/share/nginx/html