diff --git a/Dockerfile b/Dockerfile index 9a53566..118ea14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,9 @@ WORKDIR /app COPY go.mod /app/go.mod COPY go.sum /app/go.sum RUN go mod download -COPY --from=frontend-builder /app/dist /app/server/static COPY main.go /app COPY server /app/server +COPY --from=frontend-builder /app/dist /app/server/static RUN go build -o ministream main.go FROM alpine:latest