From 458bca83773ad3c87982f21a1c17245de4fce60c Mon Sep 17 00:00:00 2001 From: greglebreton Date: Tue, 27 Dec 2022 13:17:44 +0100 Subject: [PATCH] revert chg on Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 92339d2..92b0ce5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ FROM debian:bullseye-slim as builder WORKDIR /data COPY . . - -#RUN apt update && apt install -y npm -RUN apt install -y npm +RUN apt update && apt install -y npm RUN npm install -i package.json \ && npm run build FROM alpine -RUN apk add lighttpd \ + +RUN apk update \ + && apk add lighttpd \ && rm -rf /var/cache/apk/* COPY --from=builder /data/dist /var/www/localhost/htdocs