Update Dockerfile
This commit is contained in:
parent
156ff4e207
commit
67b3214276
@ -4,7 +4,7 @@ COPY go.mod /app/go.mod
|
|||||||
COPY go.sum /app/go.sum
|
COPY go.sum /app/go.sum
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY . /app
|
COPY . /app
|
||||||
RUN go build -o ezshare cmd/ezshare.go
|
RUN go build -o ezshare main.go
|
||||||
|
|
||||||
FROM builder-base as cross-compiler
|
FROM builder-base as cross-compiler
|
||||||
VOLUME ["/data"]
|
VOLUME ["/data"]
|
||||||
|
Loading…
Reference in New Issue
Block a user