Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
FROM golang:1.16 as build

COPY . /usr/src/rds_exporter

RUN cd /usr/src/rds_exporter && make build

FROM alpine:latest

COPY rds_exporter /bin/
COPY --from=build /usr/src/rds_exporter/rds_exporter /bin/
# COPY config.yml /etc/rds_exporter/config.yml

RUN apk update && \
Expand Down