Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -10,12 +10,12 @@ RUN dotnet publish UABEAvalonia/UABEAvalonia.csproj -c Release -o /app/out
|
|
| 10 |
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
-
# Install .NET 6 Runtime
|
| 14 |
RUN apt-get update && apt-get install -y wget curl gnupg \
|
| 15 |
&& wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh \
|
| 16 |
&& chmod +x dotnet-install.sh \
|
| 17 |
&& ./dotnet-install.sh --channel 6.0 --runtime dotnet \
|
| 18 |
-
&& ln -
|
| 19 |
|
| 20 |
# Install Node.js 18
|
| 21 |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
|
|
|
| 10 |
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
+
# Install .NET 6 Runtime & Force Symlink
|
| 14 |
RUN apt-get update && apt-get install -y wget curl gnupg \
|
| 15 |
&& wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh \
|
| 16 |
&& chmod +x dotnet-install.sh \
|
| 17 |
&& ./dotnet-install.sh --channel 6.0 --runtime dotnet \
|
| 18 |
+
&& ln -sf /root/.dotnet/dotnet /usr/bin/dotnet
|
| 19 |
|
| 20 |
# Install Node.js 18
|
| 21 |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|