From 04e4382e3ae7ba0dc4b3dbd9dc4b8e8d148f0834 Mon Sep 17 00:00:00 2001 From: Bill Chirico Date: Mon, 6 Nov 2023 10:17:26 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index c6c029a..fced435 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,15 +20,7 @@ RUN apk add --no-cache --update \ # this leaves us with a default v1 docusarus install # we can mount our own into the container USER node -RUN mkdir ~/npm-global \ - && npm config set prefix '~/npm-global' \ - && echo 'export PATH=~/npm-global/bin:$PATH' > ~/.profile \ - && mkdir -p /home/node/docs \ - && cd /home/node/docs \ - && npm install --global docusaurus-init \ - && sh -l -c docusaurus-init \ - && rm Dockerfile \ - && rm docker-compose.yml +RUN npm install --global docusaurus-init EXPOSE 5001/tcp USER node