Skip to content

Commit

Permalink
fix docker build action
Browse files Browse the repository at this point in the history
  • Loading branch information
ManAnRuck authored Oct 8, 2023
1 parent 874b7a8 commit 7b784a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/Dockerfile.service
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN yarn install

# Build the project
COPY --from=builder /app/out/full/ .
RUN turbo run build --filter=$SERVICE
RUN yarn turbo run build --filter=$SERVICE
RUN yarn install --prod --frozen-lockfile --ignore-scripts --prefer-offline

FROM base AS runner
Expand All @@ -44,4 +44,4 @@ COPY --from=installer /app/$SERVICE_PATH/package.json .
COPY --from=installer /app/node_modules ./node_modules
COPY --from=installer --chown=runuser:nodejs /app/$SERVICE_PATH/build ./build

CMD yarn --cwd $SERVICE_PATH start
CMD yarn --cwd $SERVICE_PATH start

0 comments on commit 7b784a2

Please sign in to comment.