mirror of
https://github.com/gogrlx/bitcask.git
synced 2026-04-02 02:58:59 -07:00
Add Dockerfile to publish images to Docker Hub
This commit is contained in:
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"]
|
||||||
Reference in New Issue
Block a user