diff --git a/docker/Dockerfile b/docker/Dockerfile index 73be261..1be621b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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