Commit f50d1875 authored by TonyFord's avatar TonyFord
Browse files

ts

parent b51cb42c
...@@ -37,6 +37,7 @@ RUN rm -rf /var/lib/apt/lists/* && \ ...@@ -37,6 +37,7 @@ RUN rm -rf /var/lib/apt/lists/* && \
### create and run user account to image ################################################## ### create and run user account to image ##################################################
ARG RUNNER_GID ARG RUNNER_GID
ARG RUNNER_UID ARG RUNNER_UID
ENV USER=faircoin
RUN groupadd -g $RUNNER_GID faircoin RUN groupadd -g $RUNNER_GID faircoin
RUN useradd --create-home --shell /bin/bash faircoin --uid $RUNNER_UID --gid $RUNNER_GID RUN useradd --create-home --shell /bin/bash faircoin --uid $RUNNER_UID --gid $RUNNER_GID
...@@ -63,4 +64,4 @@ COPY ./electrumx.csr ./electrumx.csr ...@@ -63,4 +64,4 @@ COPY ./electrumx.csr ./electrumx.csr
COPY ./electrumx.crt ./electrumx.crt COPY ./electrumx.crt ./electrumx.crt
WORKDIR /home/faircoin/electrumfairchainsx WORKDIR /home/faircoin/electrumfairchainsx
# ENTRYPOINT ["python3 efcx_server"] ENTRYPOINT ["./efcx_server"]
...@@ -9,6 +9,6 @@ services: ...@@ -9,6 +9,6 @@ services:
RUNNER_UID: "${RUNNER_UID}" RUNNER_UID: "${RUNNER_UID}"
RUNNER_GID: "${RUNNER_GID}" RUNNER_GID: "${RUNNER_GID}"
container_name: FairCoin.Co-electrumfairchainsx container_name: FairCoin.Co-electrumfairchainsx
command: sleep inf # command: sleep inf
network_mode: "host" network_mode: "host"
user: "${RUNNER_UID}:${RUNNER_GID}" user: "${RUNNER_UID}:${RUNNER_GID}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment