Use npm for backend

This commit is contained in:
Kasra Bigdeli
2021-08-07 13:00:24 -07:00
parent cf9d4ae20f
commit dbfd46cb51
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ RUN mkdir -p /usr/src/app-frontend && cd /usr/src/app-frontend && \
git clone https://github.com/githubsaturn/caprover-frontend.git && \
cd caprover-frontend && \
git log --max-count=1 && \
yarn install --frozen-lockfile --production && npm cache clean --force && \
yarn install --frozen-lockfile --production && yarn cache clean --all && \
npm run build && \
mv ./build ../../app/dist-frontend && \
cd / && \
+1 -1
View File
@@ -21,7 +21,7 @@ RUN mkdir -p /usr/src/app-frontend && cd /usr/src/app-frontend && \
git clone https://github.com/githubsaturn/caprover-frontend.git && \
cd caprover-frontend && \
git reset --hard ${FRONTEND_COMMIT_HASH} && \
yarn install --frozen-lockfile --production && npm cache clean --force && \
yarn install --frozen-lockfile --production && yarn cache clean --all && \
npm run build && \
mv ./build ../../app/dist-frontend && \
cd / && \