Skip to content

Commit

Permalink
chore: docker-build-test script
Browse files Browse the repository at this point in the history
  • Loading branch information
sjedlikowski committed Feb 22, 2024
1 parent 39b3be9 commit 96913dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ This app is fully dockerized, so in order to use it you have to have docker, [do
```
to clean everything up.
1. After making changes in package.json (especially when adding new dependencies) it might be necessary to rebuild the image for testing. To do that run:
1. After making changes in package.json (especially when adding new dependencies) it might be necessary to rebuild the image. To do that run:
```
npm run docker-build
npm run docker-build-test
```
##
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build-swc": "swc src --out-dir build/src --sync && tsc --skipLibCheck --noEmit",
"watch": "rm -rf ./build/* && tsc -w --pretty --skipLibCheck --outDir build/src",
"docker-build": "docker compose build boilerplate_api",
"docker-build-test": "docker compose -f docker-compose.test.yml build boilerplate_api_test",
"docker-build-prod": "docker build -t boilerplate-api:latest -f ./docker/prod/Dockerfile .",
"down": "docker-compose down -v",
"sync-start": "docker-sync-stack start",
Expand Down

0 comments on commit 96913dd

Please sign in to comment.