diff options
| author | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-05 12:42:44 -0700 |
|---|---|---|
| committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-05 12:42:44 -0700 |
| commit | 94b912b649150b9863a62096ba4740b2cc8ad21a (patch) | |
| tree | 1882236fc980fa5946d3089a2f2e4670f3a70580 /Dockerfile | |
| parent | ab0ddcaeb1fc37351d14b89100e07d3a343ba9e1 (diff) | |
| download | lizdotcoffee-94b912b649150b9863a62096ba4740b2cc8ad21a.tar.gz lizdotcoffee-94b912b649150b9863a62096ba4740b2cc8ad21a.zip | |
Factor
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -1,17 +1,18 @@ -FROM node:22-alpine AS builder +#FROM node:22-alpine AS builder +# +#WORKDIR /app +# +#COPY package*.json ./ +#RUN npm install +# +#COPY . . +# +#RUN npm run build -WORKDIR /app +FROM nginx:alpine AS lizdotcoffee -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 --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 |
