edit Dockerfile.dev

This commit is contained in:
kamonwan taengsuk
2023-08-04 16:17:32 +07:00
parent e39ab67be8
commit 8eaf796ac4

View File

@@ -8,7 +8,8 @@ RUN dotnet publish -o /publish --configuration Release;
FROM registry.71dev.com/dotnetsdk:5.0
COPY . .
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends apt-utils
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libfontconfig1
RUN apk add --no-cache msttcorefonts-installer fontconfig
RUN update-ms-fonts
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated libc6-dev
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated libgdiplus
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated libx11-dev
@@ -20,4 +21,4 @@ RUN fc-cache -fv
WORKDIR /app
COPY --from=build-env /publish .
ENV ASPNETCORE_URLS http://*:8080
ENTRYPOINT ["dotnet", "rmutr_report.dll"]
ENTRYPOINT ["dotnet", "rmutr_report.dll"]