1 parent d83886f commit ab191c4Copy full SHA for ab191c4
1 file changed
dockerfile
@@ -2,19 +2,19 @@
2
FROM node:20-bookworm-slim AS client-build
3
WORKDIR /app
4
COPY . .
5
-WORKDIR /app/Client
+WORKDIR /app/client
6
RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi
7
RUN npm run build
8
9
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS server-build
10
WORKDIR /src
11
12
-RUN dotnet publish ./Server/Server.csproj -c Release -o /out
+RUN dotnet publish ./server/Server.csproj -c Release -o /out
13
14
FROM mcr.microsoft.com/dotnet/aspnet:8.0
15
16
COPY --from=server-build /out/ ./
17
-COPY --from=client-build /app/Client/dist/ ./wwwroot/
+COPY --from=client-build /app/client/dist/ ./wwwroot/
18
19
ENV ASPNETCORE_URLS=http://0.0.0.0:8080
20
EXPOSE 8080
0 commit comments