You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
319 B
18 lines
319 B
3 years ago
|
version: '3'
|
||
|
services:
|
||
|
maven:
|
||
|
build: .
|
||
|
container_name: maven
|
||
|
environment:
|
||
|
- USER_UID=1000
|
||
|
- USER_GID=1000
|
||
|
restart: "no"
|
||
|
privileged: true
|
||
|
volumes:
|
||
|
- ./app:/usr/src/mymaven
|
||
|
- /etc/localtime:/etc/localtime
|
||
|
command: [
|
||
|
'mvn',
|
||
|
'clean',
|
||
|
'package'
|
||
|
]
|