Browse Source
498: Minor things r=itchymax a=itchymax Co-authored-by: itchymax <itchymax@itchysats.network>shutdown-taker-if-no-maker-present
bors[bot]
3 years ago
committed by
GitHub
2 changed files with 7 additions and 5 deletions
@ -1,17 +1,19 @@ |
|||
FROM debian:bullseye-slim |
|||
|
|||
LABEL org.opencontainers.image.source https://github.com/itchysats/itchysats |
|||
|
|||
ARG TARGETPLATFORM |
|||
ARG BINARY_PATH |
|||
|
|||
RUN echo "Copying $TARGETPLATFORM/$BINARY_PATH into container" |
|||
|
|||
COPY $TARGETPLATFORM/$BINARY_PATH hermes |
|||
COPY $TARGETPLATFORM/$BINARY_PATH binary |
|||
|
|||
RUN chmod a+x hermes |
|||
RUN chmod a+x binary |
|||
|
|||
VOLUME data |
|||
|
|||
# HTTP Port and P2P Port |
|||
EXPOSE 8000 9999 |
|||
|
|||
ENTRYPOINT ["/hermes", "--data-dir=/data", "--http-address=0.0.0.0:8000"] |
|||
ENTRYPOINT ["/binary", "--data-dir=/data", "--http-address=0.0.0.0:8000"] |
|||
|
Loading…
Reference in new issue