From b4874bcf85032b0b90cdf5807167ddfed6faa620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thi=E1=BB=87n=20L=C3=A2m?= Date: Thu, 13 Jun 2024 23:36:40 +0700 Subject: [PATCH] fix turbo.json --- .github/workflows/build_api.yml | 2 +- .github/workflows/build_web.yml | 3 ++- apps/api/src/index.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_api.yml b/.github/workflows/build_api.yml index d3813ff..49d3345 100644 --- a/.github/workflows/build_api.yml +++ b/.github/workflows/build_api.yml @@ -19,4 +19,4 @@ jobs: - name: Build Docker image run: | cd apps/api - docker build . + docker build -f ./apps/api/Dockerfile diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index 4c40383..aa925ae 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -19,4 +19,5 @@ jobs: - name: Build Docker image run: | cd apps/web - docker build . + docker build -f ./apps/web/Dockerfile + diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts index 79b61da..5440a42 100644 --- a/apps/api/src/index.ts +++ b/apps/api/src/index.ts @@ -5,5 +5,5 @@ const port = process.env.PORT || 3001; const server = createServer(); server.listen(port, () => { - log(`api running on 3 ${port}`); + log(`api running on 4 ${port}`); });