Skip to content

Commit

Permalink
fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Clarence Mesina committed Nov 3, 2023
1 parent 51e1d64 commit 75e573c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:
with:
node-version: '20.8.1'
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Install NX
run: npm install -g nx
run: npm ci --legacy-peer-deps
- name: Build
run: chmod +x ./build_docker.sh && ./build_docker.sh
# build and push to dockerhub
Expand Down
2 changes: 1 addition & 1 deletion build_docker.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the app
nx build-with-frontend hotel-management-system-backend
npx nx build-with-frontend hotel-management-system-backend

# Build docker image
docker build . -t hotel-management-system

0 comments on commit 75e573c

Please sign in to comment.