service-ftp/Makefile
2017-09-11 18:39:02 +02:00

21 lines
385 B
Makefile

all: build run
# --build-arg "BUNDLE_BITBUCKET__ORG=$(BUNDLE_BITBUCKET__ORG)" \
build:
docker build -t dt-service-ftp .
run:
docker stop dt-service-ftp || true
docker run --rm \
--name dt-service-ftp \
-p 21:21 \
-p 30000-30009:30000-30009 \
-e "PUBLICHOST=localhost" \
-e "VSFTP_USER_1_USERNAME=dt-site" \
-e "VSFTP_USER_1_PASSWORD=random" \
-t dt-service-ftp