Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit

Permalink
Modified the Dockerfile to accomodate the use of the cmd/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvoras committed Apr 19, 2021
1 parent 67f2a5f commit 04baea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN go mod download

COPY . .

RUN go build -ldflags="-s -w -extldflags '-static'" -o /app/melody
RUN go build -ldflags="-s -w -extldflags '-static'" -o /app/melody ./cmd/melody

# Copy only what's needed
FROM scratch
Expand Down

0 comments on commit 04baea7

Please # to comment.