build: publish reproducible patched image
This commit is contained in:
parent
d4aea97dba
commit
6dc5a9428b
4 changed files with 65 additions and 37 deletions
18
docker-compose.build.yml
Normal file
18
docker-compose.build.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: wwebjs-api
|
||||
|
||||
services:
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: wwebjs-api:patched
|
||||
container_name: wwebjs-api
|
||||
restart: always
|
||||
ports:
|
||||
- "${PORT:-3000}:${PORT:-3000}"
|
||||
env_file: .env
|
||||
volumes:
|
||||
- wwebjs_sessions:/usr/src/app/sessions
|
||||
|
||||
volumes:
|
||||
wwebjs_sessions:
|
||||
Loading…
Reference in a new issue