Fix Dockerfile
This commit is contained in:
parent
7b2370a8fc
commit
1bfd86ec2f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user