Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BillChirico authored Nov 6, 2023
1 parent 52006ba commit 04e4382
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04e4382

Please sign in to comment.