Dockerfile: just add the entire repo
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 2m42s
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user