From 3e797fa3c5b46b9ff429732996e3e01bfb7d6e39 Mon Sep 17 00:00:00 2001 From: CrimsonTome Date: Sun, 4 Sep 2022 15:31:01 +0000 Subject: [PATCH] update dockerfile in readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index da32886..510b8c6 100644 --- a/README.md +++ b/README.md @@ -31,12 +31,12 @@ The site can also be built and ran inside a docker container when you are in the ## Dockerfile ```dockerfile -FROM node:10-alpine3.9 as npmpackages +FROM node:18-alpine3.15 as npmpackages WORKDIR /app COPY package.json . RUN npm install -FROM node:10-alpine3.9 as builder +FROM node:18-alpine3.15 as builder WORKDIR /app COPY --from=npmpackages /app /app COPY . . @@ -45,6 +45,7 @@ RUN npm run build FROM nginx:1.17.10-alpine RUN rm -r /usr/share/nginx/html/ COPY --from=builder /app/_site/ /usr/share/nginx/html/ + ``` ### Ouroboros