Skip to content

Commit

Permalink
放弃使用环境变量
Browse files Browse the repository at this point in the history
  • Loading branch information
ryjer committed Sep 13, 2023
1 parent 1d57a8a commit 8c23497
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ RUN apt update -y\
&& apt install curl -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p ${XDG_CONFIG_HOME}
&& mkdir -p /config

VOLUME ["${XDG_CONFIG_HOME}"]
COPY ./opentracker.conf ${XDG_CONFIG_HOME}/opentracker.conf
COPY ./whitelist ${XDG_CONFIG_HOME}/whitelist
COPY ./blacklist ${XDG_CONFIG_HOME}/blacklist
VOLUME ["/config"]

COPY ./opentracker.conf /config/opentracker.conf
COPY ./whitelist /config/whitelist
COPY ./blacklist /config/blacklist

EXPOSE 6969/tcp
EXPOSE 6969/udp
Expand Down

0 comments on commit 8c23497

Please sign in to comment.