21 lines
385 B
Makefile
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
|
|
|
|
|
|
|