-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (51 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
55 lines (51 loc) · 1.04 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
app:
container_name: ffc
build:
context: .
dockerfile: prod.Dockerfile
working_dir: /extension
command: [ "swoext", "run", "--no-color" ]
volumes:
- .:/extension
env_file:
- .env
ports:
- "8080:8080"
expose:
- "8080"
bash:
container_name: ffc_bash
build:
context: .
dockerfile: dev.Dockerfile
working_dir: /extension
command: bash
stdin_open: true
tty: true
volumes:
- .:/extension
env_file:
- .env
app_test:
container_name: ffc_test
build:
context: .
dockerfile: dev.Dockerfile
working_dir: /extension
command: bash -c "uv run ruff check . && uv run pytest"
volumes:
- .:/extension
env_file:
- .env
format:
container_name: ffc_format
build:
context: .
dockerfile: dev.Dockerfile
working_dir: /extension
command: bash -c "uv run ruff check . --select I --fix && uv run ruff format ."
volumes:
- .:/extension
env_file:
- .env