Add Dockerfile to publish images to Docker Hub

This commit is contained in:
James Mills 2019-03-30 17:13:35 +10:00
parent f397a73abd
commit b29b4c5422
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

14
Dockerfile Normal file
View File

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