Skip to content

Commit

Permalink
fix: yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsbergPhilip committed Nov 14, 2024
1 parent f1c7035 commit a2ec986
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .docker/dockerfiles/backend
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ EXPOSE $PORT
CMD ["yarn", "start:dev"]

FROM develop AS build
RUN yarn workspaces focus --all --production
RUN yarn
RUN npm run build

FROM node:20-alpine AS prod
Expand Down
2 changes: 1 addition & 1 deletion .docker/dockerfiles/frontend
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ EXPOSE $PORT
CMD ["yarn", "dev"]

FROM develop AS build
RUN yarn workspaces focus --all --production
RUN yarn
RUN npm run build

FROM nginx:1.18 AS prod
Expand Down

0 comments on commit a2ec986

Please sign in to comment.