Browse Source

Add Dockerfile to publish images to Docker Hub

pull/8/head
James Mills 3 years ago
parent
commit
b29b4c5422
Signed by untrusted user who does not match committer: prologic GPG Key ID: AC4C014F1440EBD6
  1. 14
      Dockerfile

14
Dockerfile

@ -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"]
Loading…
Cancel
Save