diff --git a/.drone.yml b/.drone.yml index c912393..808ae6f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,8 @@ steps: commands: - cd /usr/share/$DRONE_REPO_NAME - dotnet build + - apt-get install -y libfreetype6 + - apt-get install -y libfontconfig1 - name: recreate dist folder commands: - rm -rf /usr/share/$DRONE_REPO_NAME/dist diff --git a/Dockerfile b/Dockerfile index fb057e5..4fd2955 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0 -RUN apt-get install -y libfreetype6 -RUN apt-get install -y libfontconfig1 + ADD dist /app