Fix docker file for cmd subpath
This commit is contained in:
parent
522e8205b3
commit
3043409939
1 changed files with 2 additions and 2 deletions
|
@ -5,6 +5,6 @@ WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
|
||||||
RUN go build -o rove-server ./...
|
RUN cd cmd/rove-server && go build ./...
|
||||||
|
|
||||||
CMD "./rove-server"
|
CMD "./cmd/rove-server/rove-server"
|
Loading…
Add table
Reference in a new issue