Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
neozhu committed Dec 9, 2024
1 parent 5e9d20b commit 8b0c69b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CleanAspire.ClientApp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
WORKDIR /src

# Install Python for AOT compilation
RUN apt-get update && apt-get install -y python3 python3-pip && ln -s /usr/bin/python3 /usr/bin/python

# Copy the project files and restore dependencies
COPY ["src/CleanAspire.ClientApp/CleanAspire.ClientApp.csproj", "src/CleanAspire.ClientApp/"]
RUN dotnet restore "src/CleanAspire.ClientApp/CleanAspire.ClientApp.csproj"
Expand Down

0 comments on commit 8b0c69b

Please sign in to comment.