-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (30 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (30 loc) · 887 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
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: frontend
working_dir: /app
stdin_open: true
tty: true
restart: unless-stopped
volumes:
- ./frontend/app:/app
- /app/node_modules
environment:
EXPO_TUNNEL: ${EXPO_TUNNEL}
EXPO_DEVTOOLS_LISTEN_ADDRESS: ${EXPO_DEVTOOLS_LISTEN_ADDRESS}
REACT_NATIVE_PACKAGER_HOSTNAME: ${REACT_NATIVE_PACKAGER_HOSTNAME}
EXPO_PUBLIC_API_HOST: ${EXPO_PUBLIC_API_HOST}
EXPO_PUBLIC_API_PORT: ${EXPO_PUBLIC_API_PORT}
EXPO_PUBLIC_API_BASE: ${EXPO_PUBLIC_API_BASE}
ports:
- "19000:19000" # Expo dev server (Metro)
- "19001:19001" # React Native debugger(old)
- "19002:19002" # Expo web UI
- "8081:8081" # Metro bundler
command: >
sh -c "
npm install &&
npx expo start
"