mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
Expose port 2356 in Dockerfile
This commit is contained in:
parent
d454418980
commit
123bc3c97a
|
@ -9,4 +9,5 @@ WORKDIR /app
|
||||||
VOLUME [ "/rec" ]
|
VOLUME [ "/rec" ]
|
||||||
COPY --from=0 /output /app
|
COPY --from=0 /output /app
|
||||||
ENTRYPOINT [ "/app/BililiveRecorder.Cli" ]
|
ENTRYPOINT [ "/app/BililiveRecorder.Cli" ]
|
||||||
|
EXPOSE 2356/tcp
|
||||||
CMD [ "run", "--bind", "http://*:2356", "/rec" ]
|
CMD [ "run", "--bind", "http://*:2356", "/rec" ]
|
||||||
|
|
|
@ -5,4 +5,5 @@ WORKDIR /app
|
||||||
VOLUME [ "/rec" ]
|
VOLUME [ "/rec" ]
|
||||||
COPY ./BililiveRecorder.Cli/bin/docker_out /app
|
COPY ./BililiveRecorder.Cli/bin/docker_out /app
|
||||||
ENTRYPOINT [ "dotnet", "/app/BililiveRecorder.Cli.dll" ]
|
ENTRYPOINT [ "dotnet", "/app/BililiveRecorder.Cli.dll" ]
|
||||||
|
EXPOSE 2356/tcp
|
||||||
CMD [ "run", "--bind", "http://*:2356", "/rec" ]
|
CMD [ "run", "--bind", "http://*:2356", "/rec" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user