Skip to content

Commit

Permalink
修改 dockerfile ,明确要暴露的端口
Browse files Browse the repository at this point in the history
Signed-off-by: allan716 <525223688@qq.com>
  • Loading branch information
allanpk716 committed Apr 28, 2023
1 parent d2e895f commit 938b825
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/full-release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ RUN cd /tmp \
&& chmod +x /usr/local/bin/chinesesubfinder \
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo "${TZ}" > /etc/timezone \
&& rm -rf /tmp/*
&& rm -rf /tmp/* \
EXPOSE 19035
COPY full-rootfs /
ENTRYPOINT ["/init"]
WORKDIR /config
Expand Down
1 change: 1 addition & 0 deletions docker/lite-release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ COPY go/out/${TARGETARCH}/chinesesubfinder /usr/bin/chinesesubfinder
COPY lite-entrypoint.sh /usr/bin/entrypoint.sh
VOLUME ["/config", "/media"]
WORKDIR /config
EXPOSE 19035
ENTRYPOINT ["tini", "entrypoint.sh"]

0 comments on commit 938b825

Please sign in to comment.