Skip to content

Commit

Permalink
fix: add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmalkmus committed Dec 20, 2022
1 parent 02b3fa1 commit 27e86bc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Production image based on alpine.
FROM alpine
LABEL maintainer="Lukas Malkmus <mail@lukasmalkmus.com>"

# Upgrade packages and install ca-certificates.
RUN apk update --no-cache \
apk upgrade --no-cache \
apk add --no-cache ca-certificates

# Copy binary into image.
COPY tankerkoenig_exporter /usr/bin/tankerkoenig_exporter

# Use the project name as working directory.
WORKDIR /tankerkoenig_exporter

# Set the binary as entrypoint.
ENTRYPOINT [ "/usr/bin/tankerkoenig_exporter" ]

0 comments on commit 27e86bc

Please sign in to comment.