mirror of
https://github.com/caprover/caprover
synced 2026-05-03 10:10:29 +00:00
Use npm for backend
This commit is contained in:
@@ -12,7 +12,7 @@ WORKDIR /usr/src/app
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
RUN yarn install --frozen-lockfile --production && \
|
||||
RUN npm ci --production && \
|
||||
npm cache clean --force && \
|
||||
npm run build && \
|
||||
mv ./edge-override.json ./config-override.json
|
||||
|
||||
@@ -6,7 +6,7 @@ WORKDIR /usr/src/app
|
||||
# Build backend code.
|
||||
|
||||
COPY . /usr/src/app
|
||||
RUN yarn install --frozen-lockfile --production && \
|
||||
RUN npm ci --production && \
|
||||
npm cache clean --force && \
|
||||
npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user