1
0
mirror of https://git.mills.io/kayos/bitraft.git synced 2024-06-26 00:38:51 +00:00

Add Dockerfile to publish images to the Docker Hub

This commit is contained in:
James Mills 2019-03-30 17:37:11 +10:00
parent 69bfb985e0
commit 3816f3e852
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

14
Dockerfile Normal file

@ -0,0 +1,14 @@
# Build
FROM prologic/go-builder:latest AS build
# Runtime
FROM alpine
COPY --from=build /src/bitraft /bitraft
EXPOSE 4920/tcp
VOLUME /data
ENTRYPOINT ["/bitraft"]
CMD ["-d", "/data"]