dashboard/Dockerfile
2022-01-30 12:45:22 +01:00

12 lines
No EOL
234 B
Docker

FROM node:lts AS build
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --prod
COPY . ./
RUN yarn build
FROM ratisbonacoding/nginx-cloudflare-cache
COPY --from=build /app/build /app
COPY nginx.conf /etc/nginx/nginx.conf