-
Clone the repo
git clone https://github.com/RIDEAT/curi-backend.git
-
Move to it
cd curi_backend
-
Make jwt-secret in src/main/resources/application-jwt.properties
echo 'jwt.secret = your own secret key' >> application-jwt.properties
-
Make src/main/resources/serviceAccountkey.json to connect firebase
-
Local Build
./gradlew build
-
Docker Build
// For mac docker build . -t springbootapp --platform linux/amd64
// For window docker build . -t springbootapp
-
Docker Run
docker run springbootapp
Followings are options that you can add!
-
Port option(-p)
Connect between local network and container inner network. -
Volume option(-v)
Enable inner container to use local files
Here is the website that I referred to when building