Skip to content

Commit 3f93fda

Browse files
committed
Update docker compose
1 parent e0cee30 commit 3f93fda

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docker-compose.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
version: '3.4'
22
services:
33
geocosicorr3d:
4-
image: geocosicorr3d
4+
# Use a more descriptive image name with a tag
5+
image: geocosicorr3d:latest
56
platform: linux/amd64
67
build:
78
context: .
89
volumes:
10+
# Bind the current directory to the app directory inside the container
911
- type: bind
1012
source: ${PWD}
1113
target: /usr/src/app/geoCosiCorr3D
14+
# Bind the /home/cosicorr directory on the host to the same directory inside the container
1215
- type: bind
13-
source: /home/cosicorr
14-
target: /home/cosicorr
16+
source: ${HOME}
17+
target: /home/user

0 commit comments

Comments
 (0)