diff --git a/Difficalcy.Catch/Dockerfile b/Difficalcy.Catch/Dockerfile index e28affe..5de5681 100644 --- a/Difficalcy.Catch/Dockerfile +++ b/Difficalcy.Catch/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine3.19 AS base LABEL org.opencontainers.image.source https://github.com/Syriiin/difficalcy @@ -15,7 +15,6 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY ./Difficalcy/Difficalcy.csproj ./Difficalcy/ -RUN dotnet restore Difficalcy/Difficalcy.csproj COPY ./Difficalcy.Catch/Difficalcy.Catch.csproj ./Difficalcy.Catch/ RUN dotnet restore Difficalcy.Catch/Difficalcy.Catch.csproj diff --git a/Difficalcy.Mania/Dockerfile b/Difficalcy.Mania/Dockerfile index b6a6574..d9a66c6 100644 --- a/Difficalcy.Mania/Dockerfile +++ b/Difficalcy.Mania/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine3.19 AS base LABEL org.opencontainers.image.source https://github.com/Syriiin/difficalcy @@ -15,7 +15,6 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY ./Difficalcy/Difficalcy.csproj ./Difficalcy/ -RUN dotnet restore Difficalcy/Difficalcy.csproj COPY ./Difficalcy.Mania/Difficalcy.Mania.csproj ./Difficalcy.Mania/ RUN dotnet restore Difficalcy.Mania/Difficalcy.Mania.csproj diff --git a/Difficalcy.Osu/Dockerfile b/Difficalcy.Osu/Dockerfile index d56c1aa..bf3af24 100644 --- a/Difficalcy.Osu/Dockerfile +++ b/Difficalcy.Osu/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine3.19 AS base LABEL org.opencontainers.image.source https://github.com/Syriiin/difficalcy @@ -15,7 +15,6 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY ./Difficalcy/Difficalcy.csproj ./Difficalcy/ -RUN dotnet restore Difficalcy/Difficalcy.csproj COPY ./Difficalcy.Osu/Difficalcy.Osu.csproj ./Difficalcy.Osu/ RUN dotnet restore Difficalcy.Osu/Difficalcy.Osu.csproj diff --git a/Difficalcy.Taiko/Dockerfile b/Difficalcy.Taiko/Dockerfile index 048fae8..0146f25 100644 --- a/Difficalcy.Taiko/Dockerfile +++ b/Difficalcy.Taiko/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine3.19 AS base LABEL org.opencontainers.image.source https://github.com/Syriiin/difficalcy @@ -15,7 +15,6 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY ./Difficalcy/Difficalcy.csproj ./Difficalcy/ -RUN dotnet restore Difficalcy/Difficalcy.csproj COPY ./Difficalcy.Taiko/Difficalcy.Taiko.csproj ./Difficalcy.Taiko/ RUN dotnet restore Difficalcy.Taiko/Difficalcy.Taiko.csproj