Dockerfile: just add the entire repo
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 2m42s

Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
2025-11-21 17:45:37 +07:00
parent 4a548e38b5
commit 40383733cd
2 changed files with 9 additions and 19 deletions

View File

@@ -13,15 +13,11 @@ jobs:
# change mirror to kku.ac.th for faster package downloading
sudo sed -i 's@http://archive.ubuntu.com@http://mirror.kku.ac.th@g' /etc/apt/sources.list.d/ubuntu.sources
sudo apt update && sudo apt install nodejs npm curl -y
- name: Install project dependencies
run: |
npm install
- name: Testing APIs
run: |
chmod +x test.sh
./test.sh
- name: Build docker image
run: |
mv Dockerfile ../
mv entrypoint ../
cd ../
docker build . -t accounting-api:latest