blob: 7f89bdac48f9f020806816bf93c8ef6bd92353b0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
services:
snekbox:
container_name: snekbox_dev
hostname: snekbox_dev
privileged: true
image: ghcr.io/python-discord/snekbox${IMAGE_SUFFIX:--venv:dev}
pull_policy: never
ports:
- "8060:8060"
init: true
ipc: private
tty: true
environment:
SNEKBOX_DEBUG: 1
PYTHONDONTWRITEBYTECODE: 1
build:
context: .
dockerfile: Dockerfile
target: venv
args:
DEV: 1
cache_from:
- ghcr.io/python-discord/snekbox:latest
volumes:
- .:/snekbox
- user-base:/snekbox/user_base
volumes:
user-base:
|