Skip to content

Commit

Permalink
chore: use docker build hook to use Dockerfile from other location
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
RomanHotsiy committed Nov 6, 2018
1 parent 07b5e62 commit ebe8d3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/docker/hooks/build
Original file line number Diff line number Diff line change
@@ -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 .

0 comments on commit ebe8d3f

Please sign in to comment.