bump version. Added docker compose
This commit is contained in:
parent
bff43c8207
commit
6a2d960dd0
2
build.sh
2
build.sh
@ -1 +1 @@
|
||||
sudo docker build --no-cache --network host -t msrewards . && sudo docker run -d --restart unless-stopped -p 1234:1234 -ti --shm-size=2gb --name MsRewards msrewards
|
||||
sudo docker build --no-cache --network host -t msrewards . && sudo docker run -d --restart unless-stopped -p 1234:1234 -p 2345:2345 -ti --shm-size=2gb --name MsRewards msrewards
|
||||
|
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
msrewards:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
# optional if you have Dockerfile in the same directory
|
||||
# arguments:
|
||||
# - ARG_NAME=value # If you have build arguments
|
||||
image: msrewards
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "1234:1234"
|
||||
- "2345:2345"
|
||||
shm_size: 2gb
|
||||
volumes:
|
||||
- "./:/app" # Mount the current directory to /app inside the container
|
Loading…
Reference in New Issue
Block a user