Skip to content

Commit

Permalink
build: update Dockerfile to use volume for config files
Browse files Browse the repository at this point in the history
  • Loading branch information
janyksteenbeek committed Nov 16, 2024
1 parent 818f2a0 commit d0dc1c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /app/birdgpt ./cmd/main.go
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/birdgpt .
COPY config.yaml .
VOLUME ["/app/config.yaml", "/app/credentials.json"]
CMD ["/app/birdgpt"]

0 comments on commit d0dc1c3

Please sign in to comment.