mirror of
https://github.com/caprover/caprover
synced 2026-05-04 02:30:30 +00:00
Update dockerfile-captain.edge
This commit is contained in:
@@ -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 / && \
|
||||
|
||||
Reference in New Issue
Block a user