From df69c169226b803f68a8303bae2a80fd4fa14669 Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 7 Jun 2024 16:53:15 -0400 Subject: [PATCH] Add Dockerfile for Phanpy --- phanpy/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 phanpy/Dockerfile diff --git a/phanpy/Dockerfile b/phanpy/Dockerfile new file mode 100644 index 0000000..639fcd9 --- /dev/null +++ b/phanpy/Dockerfile @@ -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 " +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 \ No newline at end of file