Commit c2052da2 authored by nanahira's avatar nanahira

fix

parent 592a0ba9
Pipeline #21233 passed with stages
in 3 minutes and 50 seconds
...@@ -8,11 +8,12 @@ COPY ./package*.json ./ ...@@ -8,11 +8,12 @@ COPY ./package*.json ./
FROM base as builder FROM base as builder
RUN npm ci && npm cache clean --force RUN npm ci && npm cache clean --force
COPY . ./ COPY . ./
RUN npm run build RUN npm run patch && npm run build
FROM base FROM base
ENV NODE_ENV production ENV NODE_ENV production
RUN npm ci && npm cache clean --force RUN npm ci && npm cache clean --force
COPY --from=builder /usr/src/app/dist ./dist COPY --from=builder /usr/src/app/dist ./dist
COPY --from=builder /usr/src/app/node_modules/@mutagen-d/node-proxy-server/src/index.js ./node_modules/@mutagen-d/node-proxy-server/src/
CMD [ "npm", "start" ] CMD [ "npm", "start" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment