Browse Source

Fix docker build

DarthSim 5 years ago
parent
commit
38f5b697bf
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docker/Dockerfile

+ 3 - 3
docker/Dockerfile

@@ -56,11 +56,11 @@ RUN cd /root \
     --enable-silent-rules \
   && make install-strip
 
-ADD . /go/src/github.com/imgproxy/imgproxy
-WORKDIR /go/src/github.com/imgproxy/imgproxy
+ADD . /app
+WORKDIR /app
 
 # Build imgproxy
-RUN cd /go/src/github.com/imgproxy/imgproxy \
+RUN cd /app \
   && CGO_LDFLAGS_ALLOW="-s|-w" go build -v -o /usr/local/bin/imgproxy
 
 # Copy compiled libs here to copy them to the final image