Skip to content

Commit

Permalink
Merge pull request #2 from neofacto/bugfix/fix-docker-build
Browse files Browse the repository at this point in the history
Build from alpine instead of scratch
  • Loading branch information
mtthp committed Jun 3, 2020
2 parents 2441149 + 4fb26c4 commit 64359f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG VERSION
ADD /binaries/monitoror-linux-amd64-${VERSION} /bin/monitoror
RUN chmod +x /bin/monitoror

FROM scratch
COPY --from=builder /bin/monitoror /bin/monitoror
# FROM scratch
# COPY --from=builder /bin/monitoror /bin/monitoror
EXPOSE 8080
CMD [ "/bin/monitoror" ]

0 comments on commit 64359f0

Please sign in to comment.