Browse Source
Dockerfile are generally useful but are especially needed in our case because we depend on a glibc2.29 which is not available on older distrosrefactor/no-log-handler
Philipp Hoenisch
3 years ago
3 changed files with 54 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
|
|||
.* |
|||
!./target |
@ -0,0 +1,15 @@ |
|||
FROM debian:bullseye-slim |
|||
|
|||
ARG BINARY_PATH |
|||
RUN echo "Copying $BINARY_PATH into container" |
|||
|
|||
COPY $BINARY_PATH hermes |
|||
|
|||
RUN chmod a+x hermes |
|||
|
|||
VOLUME data |
|||
|
|||
# HTTP Port and P2P Port |
|||
EXPOSE 8000 9999 |
|||
|
|||
ENTRYPOINT ["/hermes", "--data-dir=/data", "--http-address=0.0.0.0:8000"] |
Loading…
Reference in new issue