Add build stuffs

This commit is contained in:
2025-10-15 00:35:20 -05:00
parent ab6e624dcd
commit 71869ba1ce

View File

@@ -1,11 +1,11 @@
FROM onedev.site.tesses.net/crosslang/crosslangextras/crosslangextras:latest AS build
WORKDIR /src
RUN git clone https://onedev.site.tesses.net/tytd2025 && cd tytd2025/Tesses.YouTubeDownloader.Server && crosslang build && find /src
RUN git clone https://onedev.site.tesses.net/tytd2025 && cd tytd2025/Tesses.YouTubeDownloader.Server && crosslang build
FROM onedev.site.tesses.net/crosslang/crosslang:latest
COPY --from=build /src/Tesses.YouTubeDownloader.Server/bin /app
COPY --from=build /src/tytd2025/Tesses.YouTubeDownloader.Server/bin /app
WORKDIR /data
EXPOSE 3255