mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
Add Dockerfile to publish images to Docker Hub
This commit is contained in:
parent
f397a73abd
commit
b29b4c5422
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
Loading…
x
Reference in New Issue
Block a user