From 2eb943054293d306f465ec12d6d0a3029a9b3a76 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Thu, 10 Feb 2022 03:03:56 +0400 Subject: [PATCH] try w ubuntu --- Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 39ccd2c..802af59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,13 @@ RUN npm run build # Production image, copy all the files and run next # or pandoc/core@alpine # FROM pandoc/core AS runner -FROM alpine:latest AS runner -RUN apk add nodejs npm +FROM ubuntu AS runner +RUN DEBIAN_FRONTEND=noninteractive apt-get update +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y curl pandoc +RUN curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh +RUN bash nodesource_setup.sh +RUN apt install nodejs + WORKDIR /app # You only need to copy next.config.js if you are NOT using the default configuration