1
0
mirror of https://github.com/comit-network/comit-rs synced 2025-10-06 00:32:52 +02:00
Files
comit-rs/Dockerfile
2020-03-26 14:41:30 +11:00

19 lines
351 B
Docker

FROM debian:buster
RUN apt-get update && \
apt-get install -y \
tini libssl-dev \
&& rm -rf /var/lib/apt/lists/*
RUN useradd --create-home --shell /bin/bash cnd
USER cnd
COPY ./target/release/cnd /usr/local/bin
EXPOSE 9939
EXPOSE 8000
# tini allows us to CTRL+C our container if it runs in the foreground
ENTRYPOINT ["tini"]
CMD ["cnd"]