diff --git a/Dockerfile.api b/Dockerfile.api index 5db8e46..4e4b5f7 100644 --- a/Dockerfile.api +++ b/Dockerfile.api @@ -10,6 +10,7 @@ COPY . . RUN bash ./apps/api/util/setup.sh RUN yarn +RUN yarn build:database RUN yarn build:api CMD yarn start:api \ No newline at end of file diff --git a/package.json b/package.json index 2a30aa5..7370caa 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ ], "scripts": { "build:api": "yarn workspace api build", + "build:database": "yarn workspace database build", "build:frontend": "yarn workspace frontend build", "start:api": "yarn workspace api start", "start:frontend": "yarn workspace frontend start",