| ADD file:9b38b383dd93169a663eed88edf3f2285b837257ead69dc40ab5ed1fb3f52c35 in / |
| CMD ["bash"] |
| ENV ASPNETCORE_URLS=http://+:80 DOTNET_RUNNING_IN_CONTAINER=true |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc1 libgssapi-krb5-2 libicu67 libssl1.1 libstdc++6 zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
| ENV DOTNET_VERSION=7.0.20 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| ENV ASPNET_VERSION=7.0.20 |
| COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit |
| WORKDIR /app |
| EXPOSE [80/tcp] |
| EXPOSE [443/tcp] |
| RUN /bin/sh -c apt-get update && apt-get -y install fontconfig && apt-get install -y --allow-unauthenticated libgdiplus libc6-dev # buildkit |
| COPY ./Fonts/THSarabunIT.ttf /usr/share/fonts/truetype/ # buildkit |
| COPY ./Fonts/THSarabunITBold.ttf /usr/share/fonts/truetype/ # buildkit |
| COPY ./Fonts/THSarabunITItalic.ttf /usr/share/fonts/truetype/ # buildkit |
| COPY ./Fonts/THSarabunITBoldItalic.ttf /usr/share/fonts/truetype/ # buildkit |
| COPY ./Fonts/THSarabunNew.ttf /usr/share/fonts/truetype/ # buildkit |
| COPY ./Fonts/THSarabunNewBold.ttf /usr/share/fonts/truetype/ # buildkit |
| COPY ./Fonts/THSarabunNewItalic.ttf /usr/share/fonts/truetype/ # buildkit |
| COPY ./Fonts/THSarabunNewBoldItalic.ttf /usr/share/fonts/truetype/ # buildkit |
| RUN /bin/sh -c fc-cache -f -v # buildkit |
| WORKDIR /app |
| COPY /app/publish . # buildkit |
| ENTRYPOINT ["dotnet" "BMA.EHR.Recurit.Exam.Service.dll"] |