Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantumplation committed Nov 22, 2024
1 parent 1927b8b commit a748f30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ai/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM node:20-alpine AS base
RUN apk add

WORKDIR /usr/src/app
RUN --mount=type=bind,source=package.json,target=package.json \
--mount=type=bind,source=yarn.lock,target=yarn.lock \
RUN --mount=type=bind,source=ai/package.json,target=package.json \
--mount=type=bind,source=ai/yarn.lock,target=yarn.lock \
yarn install --frozen-lockfile
USER node

Expand Down
4 changes: 2 additions & 2 deletions referee/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM node:20-alpine AS base
RUN apk add

WORKDIR /usr/src/app
RUN --mount=type=bind,source=package.json,target=package.json \
--mount=type=bind,source=yarn.lock,target=yarn.lock \
RUN --mount=type=bind,source=referee/package.json,target=package.json \
--mount=type=bind,source=referee/yarn.lock,target=yarn.lock \
yarn install --frozen-lockfile
USER node

Expand Down

0 comments on commit a748f30

Please sign in to comment.