Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
weqqr committed Dec 16, 2023
1 parent 5b2cae2 commit 1c9a5b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk add git
COPY go.mod go.sum ./
RUN go mod download && go mod verify
COPY cmd ./cmd
COPY pkg ./pkg
COPY internal ./internal
RUN go build -v ./cmd/panorama

FROM docker.io/node:18-alpine AS ui_builder
Expand All @@ -20,4 +20,4 @@ COPY --from=backend_builder /app/panorama ./
COPY --from=ui_builder /app/ui/build static
COPY config.example.toml /etc/panorama/config.toml

ENTRYPOINT ["./panorama", "--config", "/etc/panorama/config.toml"]
ENTRYPOINT ["./panorama", "run", "--config", "/etc/panorama/config.toml"]

0 comments on commit 1c9a5b3

Please sign in to comment.