-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 842 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 842 Bytes
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
services:
dev:
build:
context: .
target: deps
image: ai-trust-dev
volumes:
- ./src:/app/src
- ./public:/app/public
- ./index.html:/app/index.html
- ./vite.config.ts:/app/vite.config.ts
ports:
- '5173:5173'
command: npm run dev -- --host 0.0.0.0
environment:
- NODE_ENV=development
prod:
build:
context: .
target: production
image: ai-trust-prod
ports:
- '80:80'
environment:
- NODE_ENV=production
test:
build:
context: .
target: deps
image: ai-trust-test
volumes:
- ./src:/app/src
- ./vite.config.ts:/app/vite.config.ts
- ./vitest.config.ts:/app/vitest.config.ts
- ./tsconfig.json:/app/tsconfig.json
command: npm run test -- --run
environment:
- NODE_ENV=test