Add Dockerfile for Phanpy
This commit is contained in:
parent
c15763cdce
commit
df69c16922
1 changed files with 16 additions and 0 deletions
16
phanpy/Dockerfile
Normal file
16
phanpy/Dockerfile
Normal 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
|
Loading…
Reference in a new issue