1
Fork 0
docker-build-automation/phanpy/Dockerfile
2024-06-07 16:53:15 -04:00

16 lines
No EOL
407 B
Docker

FROM node:21-alpine as builder
WORKDIR /code
COPY . /code
RUN npm ci && npm run build
FROM nginx:1.25.4-alpine
LABEL maintainer="Victoria Nadasdi <efertone@pm.me>"
LABEL org.opencontainers.image.source=https://github.com/cheeaun/phanpy
LABEL org.opencontainers.image.description="Docker Image for Phanpy"
LABEL org.opencontainers.image.licenses=MIT
COPY --from=builder /code/dist /usr/share/nginx/html