Files
Showy/Dockerfile
T
2024-08-29 19:03:12 +01:00

11 lines
298 B
Docker

FROM node:18.17.1-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
RUN npx ngcc --properties es2023 browser module main --first-only --create-ivy-entry-points
COPY . .
RUN npm run build-and-copy
FROM nginx:stable
COPY --from=build /app/dist/showy/ /usr/share/nginx/html
EXPOSE 80