blob: 9d3ae7191ff9498ef3a7275e6e395ff01b21e16e (
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
30
31
|
version: "3.7"
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: none
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:
|