|
|
|
|
@ -38,12 +38,7 @@ ENV ASPNETCORE_URLS=http://+:5000
@@ -38,12 +38,7 @@ ENV ASPNETCORE_URLS=http://+:5000
|
|
|
|
|
WORKDIR /app |
|
|
|
|
EXPOSE 5000 |
|
|
|
|
|
|
|
|
|
COPY --from=build /output/app . |
|
|
|
|
COPY --from=build /output/entrypoint.sh /entrypoint.sh |
|
|
|
|
COPY --from=build /output/lib* /lib/ |
|
|
|
|
COPY --from=build /output/usr/lib* /usr/lib/ |
|
|
|
|
|
|
|
|
|
# COPY --from=build /usr/lib/x86_64-linux-gnu/* /usr/lib/x86_64-linux-gnu/ |
|
|
|
|
COPY --from=build /usr/lib/x86_64-linux-gnu/* /usr/lib/x86_64-linux-gnu/ |
|
|
|
|
|
|
|
|
|
COPY --from=ghcr.io/alexaka1/distroless-dotnet-healthchecks:1 / /healthchecks |
|
|
|
|
HEALTHCHECK CMD ["/healthchecks/Distroless.HealthChecks", "--uri", "http://localhost:5000/health"] |
|
|
|
|
|