Skip to content

Commit

Permalink
Fix: renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Oct 27, 2022
1 parent b797401 commit 5e9afca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ RUN go mod download

COPY *.go ./

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /webhooks
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /ankama-discord-hooks

## Deploy
FROM gcr.io/distroless/static-debian11

LABEL maintainer="stelzo"
USER nonroot:nonroot

COPY --from=build --chown=nonroot:nonroot /webhooks /webhooks
COPY --from=build --chown=nonroot:nonroot /ankama-discord-hooks /ankama-discord-hooks

WORKDIR /

EXPOSE 3000

CMD [ "/webhooks" ]
CMD [ "/ankama-discord-hooks" ]

0 comments on commit 5e9afca

Please sign in to comment.