24 lines
485 B
YAML
24 lines
485 B
YAML
services:
|
|
new-app:
|
|
build:
|
|
dockerfile_inline: |
|
|
FROM alpine:latest
|
|
RUN apk add newt bash
|
|
WORKDIR /compose
|
|
|
|
hostname: "${DOCKER:-$(echo hallo2)}"
|
|
entrypoint: ["/entrypoint.sh"]
|
|
volumes:
|
|
- ./Makefile.make.new-app.sh:/entrypoint.sh
|
|
- ./:/compose
|
|
compile:
|
|
hostname: thinkbox
|
|
build:
|
|
context: .
|
|
args:
|
|
YESACCEPT: ${YESACCEPT:-}
|
|
stop_grace_period: 1s
|
|
volumes:
|
|
- ./apps:/apps
|
|
|
|
|