Skip to content

Commit 35d7991

Browse files
committed
Update Dockerfile paths for BlazorWasm Client project refactoring
- Adjusted file paths and project names in Dockerfiles to reflect the renamed `Elsa.Studio.BlazorWasm.Client` project.
1 parent 911252d commit 35d7991

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/Elsa.Studio.BlazorWasm.Client/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ WORKDIR /src
66
COPY Directory.Build.props ../../Directory.Build.props
77
COPY Directory.Packages.props ../../Directory.Packages.props
88
COPY NuGet.Config ../../NuGet.Config
9-
COPY src/Elsa.Studio.BlazorWasm/Elsa.Studio.BlazorWasm.csproj ./
9+
COPY src/Elsa.Studio.BlazorWasm.Client/Elsa.Studio.BlazorWasm.Client.csproj ./
1010

1111
# Restore dependencies
12-
RUN dotnet restore "Elsa.Studio.BlazorWasm.csproj"
12+
RUN dotnet restore "Elsa.Studio.BlazorWasm.Client.csproj"
1313

1414
# Copy the rest of the source code
15-
COPY src/Elsa.Studio.BlazorWasm/. ./
15+
COPY src/Elsa.Studio.BlazorWasm.Client/. ./
1616

1717
# Build the project
18-
RUN dotnet build "Elsa.Studio.BlazorWasm.csproj" -c Release -o /app/build
18+
RUN dotnet build "Elsa.Studio.BlazorWasm.Client.csproj" -c Release -o /app/build
1919

2020
# Publish stage
2121
FROM build AS publish
22-
RUN dotnet publish "Elsa.Studio.BlazorWasm.csproj" -c Release -o /app/publish /p:UseAppHost=false
22+
RUN dotnet publish "Elsa.Studio.BlazorWasm.Client.csproj" -c Release -o /app/publish /p:UseAppHost=false
2323

2424
# NGINX stage
2525
FROM nginx:alpine AS final
26-
COPY src/Elsa.Studio.BlazorWasm/nginx.conf /etc/nginx/nginx.conf
26+
COPY src/Elsa.Studio.BlazorWasm.Client/nginx.conf /etc/nginx/nginx.conf
2727
COPY --from=publish /app/publish/wwwroot /usr/share/nginx/html
2828
EXPOSE 80
2929

src/Elsa.Studio.BlazorWasm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WORKDIR /src
66
COPY Directory.Build.props ../../Directory.Build.props
77
COPY Directory.Packages.props ../../Directory.Packages.props
88
COPY NuGet.Config ../../NuGet.Config
9-
COPY src/Elsa.Studio.BlazorWasm/Elsa.Server.Studio.BlazorWasm.csproj ./
9+
COPY src/Elsa.Studio.BlazorWasm/Elsa.Studio.BlazorWasm.csproj ./
1010

1111
# Restore dependencies
1212
RUN dotnet restore "Elsa.Studio.BlazorWasm.csproj"

0 commit comments

Comments
 (0)