diff --git a/Dockerfile b/Dockerfile index d558453..d5ab210 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ FROM git.tesses.org/tesses50/crosslang-withshell:latest AS build -RUN cd Tesses.YouTubeDownloader.Server && crosslang build && cd bin && mv Tesses.YouTubeDownloader.Server-*.crvm tytd2025.crvm +COPY ./ /src/ + +RUN cd /src/Tesses.YouTubeDownloader.Server && crosslang build && cd bin && mv Tesses.YouTubeDownloader.Server-*.crvm tytd2025.crvm FROM git.tesses.org/tesses50/crosslang:latest -COPY --from=build Tesses.YouTubeDownloader.Server/bin/ /app +COPY --from=build /src/Tesses.YouTubeDownloader.Server/bin/ /app WORKDIR /data ENV TYTDDIR=/data