Update Dockerfile

This commit is contained in:
Torjus Håkestad 2021-12-06 06:15:06 +01:00
parent 156ff4e207
commit 67b3214276

View File

@ -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"]