1
Fork 0
docker-build-automation/phanpy/Dockerfile

16 lines
407 B
Text
Raw Permalink Normal View History

2024-06-07 15:53:15 -05:00
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