dashboard/Dockerfile

13 lines
230 B
Text
Raw Normal View History

FROM node:lts AS build
2020-05-20 18:46:58 +02:00
WORKDIR /app
COPY package.json yarn.lock ./
2022-04-10 21:37:12 +02:00
RUN yarn install
COPY . ./
RUN yarn build
2020-05-24 22:44:21 +02:00
FROM nginx:1.25-alpine3.18
COPY --from=build /app/build /app
COPY data /app/data
COPY nginx.conf /etc/nginx/nginx.conf