Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zmisgod authored Dec 31, 2024
1 parent a5d6bea commit dba926f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ RUN mkdir -p ./static/input
RUN mkdir -p ./static/output
# 复制后端构建结果
COPY --from=backend-builder /usr/src/app/target/release/iptv-checker-rs ./iptv-checker-rs
COPY --from=backend-builder /usr/src/app/web ./web
# 暴露服务端口
ENV WEB_PORT=8089
EXPOSE $WEB_PORT
# 启动服务
CMD ./iptv-checker-rs web --port ${WEB_PORT} --start
CMD ./iptv-checker-rs web --port ${WEB_PORT} --start

0 comments on commit dba926f

Please sign in to comment.