From 94b912b649150b9863a62096ba4740b2cc8ad21a Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Sun, 5 Jul 2026 12:42:44 -0700 Subject: Factor --- Dockerfile | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 91f0185..b6d642c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,18 @@ -FROM node:22-alpine AS builder - -WORKDIR /app - -COPY package*.json ./ -RUN npm install - -COPY . . - -RUN npm run build - -FROM nginx:alpine as lizdotcoffee - -COPY --from=builder /app/_site /usr/share/nginx/html +#FROM node:22-alpine AS builder +# +#WORKDIR /app +# +#COPY package*.json ./ +#RUN npm install +# +#COPY . . +# +#RUN npm run build + +FROM nginx:alpine AS lizdotcoffee + +# COPY --from=builder /app/_site /usr/share/nginx/html +COPY html /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 -- cgit v1.3