Skip to content

Commit

Permalink
baseimage
Browse files Browse the repository at this point in the history
  • Loading branch information
n1koo committed May 11, 2024
1 parent 069cce8 commit dd39335
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/metrics/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ FROM opencrvs/ocrvs-base:${VERSION}

USER node

COPY --chown=node:node . .
USER node

RUN yarn install --frozen-lockfile
COPY --chown=node:node packages/commons /app/packages/commons
RUN cd packages/commons && yarn install --frozen-lockfile && yarn build

WORKDIR /app/packages/commons
RUN yarn build
COPY --chown=node:node packages/metrics /app/packages/metrics
RUN cd packages/metrics && yarn install --frozen-lockfile && yarn build

WORKDIR /app/packages/metrics
RUN yarn build

CMD ["yarn", "start:prod"]
File renamed without changes.

0 comments on commit dd39335

Please sign in to comment.