From a2ec986ec384356c75caa9e461f347d7a4233830 Mon Sep 17 00:00:00 2001 From: Philip Forsberg Date: Thu, 14 Nov 2024 17:09:01 +0100 Subject: [PATCH] fix: yarn --- .docker/dockerfiles/backend | 2 +- .docker/dockerfiles/frontend | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/dockerfiles/backend b/.docker/dockerfiles/backend index f10211ca..7e0af657 100755 --- a/.docker/dockerfiles/backend +++ b/.docker/dockerfiles/backend @@ -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 diff --git a/.docker/dockerfiles/frontend b/.docker/dockerfiles/frontend index 595df518..1fc08fd9 100755 --- a/.docker/dockerfiles/frontend +++ b/.docker/dockerfiles/frontend @@ -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