diff --git a/api/Dockerfile b/api/Dockerfile index 003809bc..f9e4db83 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,9 +1,9 @@ FROM golang:latest -WORKDIR /go/src/app +WORKDIR /app COPY . . RUN go get -d -v ./... -RUN go install -v ./... +RUN go build -o photoview . -CMD ["server"] \ No newline at end of file +CMD ["/app/photoview"] \ No newline at end of file