Skip to content

Commit 39b45e9

Browse files
committed
Simplify docker-compose file
1 parent 43f5fbf commit 39b45e9

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

docker-compose.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
version: '3'
22
services:
3-
base: &base
4-
image: ruby_gnuplot
5-
working_dir: /home/gnuplot/gnuplot
6-
volumes:
7-
- .:/home/gnuplot/gnuplot
8-
9-
base_build:
10-
<<: *base
11-
build: .
12-
command: echo done
13-
143
ruby_gnuplot:
15-
<<: *base
4+
build: .
5+
working_dir: /home/gnuplot/gnuplot
166
container_name: ruby_gnuplot
17-
depends_on: [base_build]
187
command: /bin/bash
8+
volumes:
9+
- .:/home/gnuplot/gnuplot

0 commit comments

Comments
 (0)