Skip to content

Commit

Permalink
Merge pull request #63 from gRoussac/dev
Browse files Browse the repository at this point in the history
Update docker file
  • Loading branch information
gRoussac authored Feb 23, 2024
2 parents 98abd6f + 41a6cf4 commit 0574caf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ RUN apt-get update && apt-get install -y unzip wget
SHELL ["/bin/bash", "--login", "-c"]
RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
RUN . ~/.bashrc
RUN nvm install v18.7.0 > /dev/null
RUN npm install -g npm@8.19.2
RUN nvm install --lts
WORKDIR /app
ADD https://github.com/gRoussac/casper-deployer-hackathon-oct-2022/archive/refs/heads/master.zip .
ARG TMP="./tmp"
RUN unzip -q ./*.zip -d ${TMP}
RUN mv ${TMP}/*/casper-sdk/ ./
RUN mv ${TMP}/*/w* ./ && rm -rf ${TMP} *.zip
WORKDIR /app/www
ENV PORT=4200
RUN npm install --loglevel=error && npm run build --loglevel=error
RUN npm install --verbose
RUN npm run build --verbose
CMD npm run serve

0 comments on commit 0574caf

Please sign in to comment.