mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
10 lines
277 B
Docker
10 lines
277 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:5.0
|
|
COPY . /src
|
|
RUN cd /src/BililiveRecorder.Cli && dotnet build -o /output -c Release
|
|
|
|
FROM mcr.microsoft.com/dotnet/runtime:5.0
|
|
COPY --from=0 /output /app
|
|
VOLUME [ "/rec" ]
|
|
WORKDIR /app
|
|
ENTRYPOINT [ "/app/BililiveRecorder.Cli" ]
|
|
CMD [ "-h" ] |