Skip to content

Commit

Permalink
fix: use yarn to build in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
PThorpe92 committed Oct 17, 2024
1 parent 37e2b48 commit 4d83dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:21-alpine3.19 as builder
WORKDIR /app/
COPY . .
RUN npm install && npm run build
RUN corepack install -g yarn && yarn build

FROM nginx:1.21.3-alpine
COPY --from=builder /app/dist /usr/share/nginx/html
Expand Down

0 comments on commit 4d83dc5

Please sign in to comment.