edit Dockerfile.dev
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
kamonwan taengsuk
2023-08-04 16:22:45 +07:00
parent 28a34ee269
commit cfce43201d

View File

@@ -8,7 +8,6 @@ RUN dotnet publish -o /publish --configuration Release;
FROM registry.71dev.com/dotnetsdk:5.0 FROM registry.71dev.com/dotnetsdk:5.0
COPY . . COPY . .
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends apt-utils RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends apt-utils
RUN apk add --no-cache fontconfig
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated libc6-dev 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 libgdiplus
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated libx11-dev RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated libx11-dev
@@ -16,7 +15,6 @@ RUN DEBIAN_FRONTEND=noninteractive rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/local/share/fonts/fonts/sarabun RUN mkdir -p /usr/local/share/fonts/fonts/sarabun
COPY Fonts/* /usr/local/share/fonts/sarabun/ COPY Fonts/* /usr/local/share/fonts/sarabun/
RUN chmod 644 /usr/local/share/fonts/sarabun/* RUN chmod 644 /usr/local/share/fonts/sarabun/*
RUN fc-cache -fv
WORKDIR /app WORKDIR /app
COPY --from=build-env /publish . COPY --from=build-env /publish .
ENV ASPNETCORE_URLS http://*:8080 ENV ASPNETCORE_URLS http://*:8080