Update dockerfile-captain.edge

This commit is contained in:
Kasra Bigdeli
2019-08-23 08:53:51 -04:00
committed by GitHub
parent 74b7da0f4c
commit ee1fa758cb
+2 -2
View File
@@ -10,7 +10,7 @@ WORKDIR /usr/src/app
COPY . /usr/src/app
RUN npm install && \
RUN npm install --production && \
npm cache clean --force && \
npm run build && \
mv ./edge-override.json ./config-override.json
@@ -25,7 +25,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 && \
npm install && npm cache clean --force && \
npm install --production && npm cache clean --force && \
npm run build && \
mv ./build ../../app/dist-frontend && \
cd / && \