Skip to content

Commit

Permalink
Merge pull request #10 from ExpTechTW/Dockerfile
Browse files Browse the repository at this point in the history
fix: Dockerfile & deploy
  • Loading branch information
yayacat authored Jun 18, 2024
2 parents b85e876 + 57389f2 commit ebe03c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ jobs:
- name: Load image
run: |
docker load --input /tmp/docswebsite.tar
docker image ls -a
docker image ls -a
cd /home/whes1015
docker compose up -d
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ COPY --from=builder /app .
# EXPOSE 1015

# 定義啟動命令
CMD ["npm", "--", "run", "serve", "--", "--port", "8080", "--host", "localhost"]
CMD ["npm", "run", "serve", "--", "--port", "8080", "--host", "localhost"]

0 comments on commit ebe03c3

Please sign in to comment.