1
Fork 0

Add Dockerfile for Phanpy

This commit is contained in:
Korbs 2024-06-07 16:53:15 -04:00
parent c15763cdce
commit df69c16922

16
phanpy/Dockerfile Normal file
View file

@ -0,0 +1,16 @@
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