Fix Dockerfile

This commit is contained in:
Torjus Håkestad 2023-12-02 14:06:00 +01:00
parent 7b2370a8fc
commit 1bfd86ec2f

View File

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