Skip to content

Commit

Permalink
fix Dockerfile-frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 authored Aug 24, 2023
1 parent 5ebafbe commit e9cd128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spacebar-server-client-proxy/Dockerfile-frontend
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ ENV SERVER_URL $SERVER_URL
RUN apt update ; apt install -y curl git gnupg2 ;
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt update ; apt install -y yarn nodejs

RUN git clone https://github.com/Casraw/spacebarchat-client.git ; cd spacebarchat-client ; git checkout master
RUN git clone https://github.com/spacebarchat/client.git -b legacy-v2 spacebarchat-client ; cd spacebarchat-client
COPY script-frontend.sh spacebarchat-client/script-frontend.sh
RUN cd spacebarchat-client && chmod +x script-frontend.sh && sed -i -e 's/\r$//' script-frontend.sh && ./script-frontend.sh && yarn install && yarn build:web

Expand Down

0 comments on commit e9cd128

Please sign in to comment.