Add docker stuff

This commit is contained in:
2025-02-27 11:44:25 -06:00
parent 991fd13184
commit c010ea4ea7
2 changed files with 59 additions and 0 deletions

23
docker/docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
version: '3.8'
services:
bang-web-server:
build:
context: ../ # point to the parent directory where package.json and source code reside
dockerfile: docker/Dockerfile # specific path to the Dockerfile
container_name: bang
domainname: bang.gbrown.org
hostname: bang
networks:
- node_apps
ports:
- "5000:5000"
tty: true
restart: unless-stopped
volumes:
- ../:/app # mount the parent directory to /app in the container
command: serve -s /app -l 5000
networks:
node_apps:
external: true