-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
34 lines (28 loc) · 872 Bytes
/
docker-compose.yaml
File metadata and controls
34 lines (28 loc) · 872 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
services:
igvbrowser-microservice:
container_name: ${CONTAINER_NAME}
image: ${CONTAINER_NAME}
restart: unless-stopped
build:
context: .
dockerfile: ./client.Dockerfile
args:
BUILD: ${BUILD}
GIT_DEPENDENCIES: ${GIT_DEPENDENCIES}
ports:
- '${PORT}:3000'
volumes:
- ${APPLICATION_DIR}:/app
# by mounting the "node_modules" we force it to be empty
# and keep the docker container from finding node_modules installed on the host
# https://github.com/Kartikdot/TS-Node-Docker-Starter/blob/main/docker-compose.yaml
- ignore:/app/node_modules
networks:
- nextjs-app
networks:
nextjs-app:
name: niagads-service-network
external: true
volumes:
ignore:
# see https://github.com/ErickWendel/livereload-docker-nodejs-typescript/blob/master/Dockerfile