Skip to content

Instantly share code, notes, and snippets.

@turric4n
Last active October 18, 2019 13:44
Show Gist options
  • Save turric4n/d00ad299a4c70656b562ce0fb11aab6d to your computer and use it in GitHub Desktop.
Save turric4n/d00ad299a4c70656b562ce0fb11aab6d to your computer and use it in GitHub Desktop.
DotNetCore 3 + Ubuntu 19.04 with libgdiplus
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-disco
EXPOSE 80/tcp
WORKDIR /app
COPY . ./
RUN apt-get update && apt-get install -y \
libc6-dev \
libgdiplus \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "dotnet", "Pisos.ThumbnailAlert.UI.dll" ]FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-disco
EXPOSE 80/tcp
WORKDIR /app
COPY . ./
RUN apt-get update && apt-get install -y \
libc6-dev \
libgdiplus \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "dotnet", "lib.dll" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment