Skip to content

Commit

Permalink
try no COPY
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmwang committed Sep 29, 2024
1 parent dc89580 commit 4cb53c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cd-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ jobs:
echo "sha_short=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_OUTPUT
build-push:
uses: ./.github/workflows/cd.yaml
name: Build and Push Images
needs: [compute-sha]
uses: ./.github/workflows/cd.yaml
with:
tag: ${{ needs.compute-sha.outputs.sha_short }}
secrets: inherit
Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ WORKDIR /frontend

RUN ["turbo", "run", "build", "--filter=frontend", "--env-mode=loose"]

COPY /apps/frontend/dist ./apps/frontend/dist
ENTRYPOINT ["turbo", "run", "start", "--filter=frontend"]
2 changes: 1 addition & 1 deletion infra/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ helm install bt-dev-redis ./redis --namespace=bt \

helm install bt-dev-app ./app --namespace=bt \
--set env=dev \
--set ttl=86400 \
--set ttl=24 \
--set frontend.image.tag=dev1 \
--set backend.image.tag=dev1 \
--set host=dev1.stanfurdtime.com \
Expand Down

0 comments on commit 4cb53c5

Please sign in to comment.