Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SeoulSKY committed Mar 13, 2024
1 parent 25c1707 commit a939bb9
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions sorusora-ai/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
FROM ghcr.io/puppeteer/puppeteer:22.4.1

USER root

SHELL ["/bin/bash", "-c"]

ENV NODE_VERSION=21.6
FROM node:21.6

ENV ROOT_PATH sorusora-ai

ENV PROTO_PATH protos

RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \
&& export NVM_DIR="$HOME/.nvm" \
&& [ -s "$NVM_DIR/nvm.sh" ] \
&& \. "$NVM_DIR/nvm.sh" \
&& [ -s "$NVM_DIR/bash_completion" ] \
&& \. "$NVM_DIR/bash_completion" \
&& nvm install $NODE_VERSION \
&& source $HOME/.bashrc \
&& nvm use $NODE_VERSION
RUN apt-get update \
&& apt-get install chromium -y

ENV CHROME_PATH /usr/bin/chromium

WORKDIR /app

Expand Down

0 comments on commit a939bb9

Please sign in to comment.