1
0
Fork 0
mirror of https://github.com/vbatts/imgsrv.git synced 2025-08-01 03:40:32 +00:00

dockerfile: trying a different approach for entrypoint

This commit is contained in:
Vincent Batts 2017-06-07 18:49:51 -04:00
parent b3f5e06c4d
commit be4ac4b880
2 changed files with 25 additions and 6 deletions

View file

@ -8,9 +8,4 @@ RUN dnf install -y golang git bzr && \
go get github.com/vbatts/imgsrv && \
rm -rf /usr/local/src /usr/local/pkg && \
dnf remove -y golang git bzr
ENTRYPOINT /usr/local/bin/imgsrv \
-server \
-mongo-host=$MONGODB_SERVICE_HOST:$MONGODB_SERVICE_PORT \
-mongo-db=$MONGODB_DATABASE \
-mongo-username=$DATABASE_USER \
-mongo-password=$DATABASE_PASSWORD
ENTRYPOINT ["/usr/local/src/github.com/vbatts/imgsrv/run.sh"]