diff options
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 |
