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:
parent
69bfb985e0
commit
3816f3e852
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/bitraft /bitraft
|
||||
|
||||
EXPOSE 4920/tcp
|
||||
|
||||
VOLUME /data
|
||||
|
||||
ENTRYPOINT ["/bitraft"]
|
||||
CMD ["-d", "/data"]
|
Loading…
Reference in New Issue
Block a user