Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
27 lines (26 loc) · 944 Bytes

File metadata and controls

27 lines (26 loc) · 944 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Stage 1: publish for Alpine (linux-musl-x64)
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
WORKDIR /src
COPY JoinFS/JoinFS.csproj JoinFS/
RUN dotnet restore JoinFS/JoinFS.csproj -r linux-musl-x64 /p:configuration=CONSOLE
COPY . .
RUN dotnet publish JoinFS/JoinFS.csproj \
-r linux-musl-x64 \
/p:configuration=CONSOLE \
--self-contained false \
--no-restore \
-o /app/publish \
&& rm -rf \
/app/publish/de /app/publish/es /app/publish/fr \
/app/publish/it /app/publish/ko /app/publish/nl \
/app/publish/pt /app/publish/ru \
/app/publish/AIModel \
/app/publish/*.pdb \
/app/publish/Old-Readme.txt
# Stage 2: Alpine runtime
FROM mcr.microsoft.com/dotnet/runtime:8.0-alpine
EXPOSE 6112
WORKDIR /JoinFS-CONSOLE
COPY --from=build /app/publish .
RUN mv JoinFS-CONSOLE JoinFS
ENTRYPOINT ["dotnet", "JoinFS-CONSOLE.dll"]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.