merged production and dev containers

This commit is contained in:
John Lancaster
2023-05-29 13:02:04 -05:00
parent a42ab064db
commit 3f9eea6a51
6 changed files with 62 additions and 21 deletions

View File

@@ -1,14 +1,20 @@
version: '3.8'
version: '3.3'
services:
kwaylon:
container_name: kwaylon
image: kwaylon:latest
build: ./
build:
context: ./
dockerfile: .devcontainer/Dockerfile
# restart: unless-stopped
network_mode: host
tty: true
stdin_open: true
volumes:
# give access to the system time as read-only
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./src:/usr/app/src
- ./data:/usr/app/data
- ./:/kwaylon
# - ./src:/usr/app/src
# - ./data:/usr/app/data
# - ./pics:/discord_pics