chore: use docker build hook to use Dockerfile from other location

[ci skip]
This commit is contained in:
Roman Hotsiy 2018-11-06 16:25:17 +02:00
parent 07b5e62897
commit ebe8d3f68c
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

6
config/docker/hooks/build Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# DockerHub cd into Dockerfile location before buil
# So we have to undo this.
cd ../..
docker build -f config/docker/Dockerfile -t $IMAGE_NAME .