We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4225a5f commit 1bf3629Copy full SHA for 1bf3629
1 file changed
Lagrange.Milky/Resources/Dockerfile
@@ -11,10 +11,12 @@ COPY --link Lagrange.Proto.Generator/*.csproj Lagrange.Proto.Generator/
11
RUN dotnet restore Lagrange.Milky
12
13
COPY --link . .
14
-RUN dotnet publish Lagrange.Milky -c Release -p:DebugType=none -p:StaticExecutable=true -o /app/bin
+RUN dotnet publish Lagrange.Milky -c Release -p:DebugType=none -o /app/bin
15
16
17
-FROM scratch
+FROM alpine
18
19
-COPY --from=build /app/bin/ .
20
-ENTRYPOINT ["./Lagrange.Milky"]
+WORKDIR /root
+
21
+COPY --from=build /app/bin/ /usr/local/bin/
22
+CMD ["Lagrange.Milky"]
0 commit comments