Skip to content

Commit ab191c4

Browse files
author
Bas Visscher
committed
x
1 parent d83886f commit ab191c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
FROM node:20-bookworm-slim AS client-build
33
WORKDIR /app
44
COPY . .
5-
WORKDIR /app/Client
5+
WORKDIR /app/client
66
RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi
77
RUN npm run build
88

99
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS server-build
1010
WORKDIR /src
1111
COPY . .
12-
RUN dotnet publish ./Server/Server.csproj -c Release -o /out
12+
RUN dotnet publish ./server/Server.csproj -c Release -o /out
1313

1414
FROM mcr.microsoft.com/dotnet/aspnet:8.0
1515
WORKDIR /app
1616
COPY --from=server-build /out/ ./
17-
COPY --from=client-build /app/Client/dist/ ./wwwroot/
17+
COPY --from=client-build /app/client/dist/ ./wwwroot/
1818

1919
ENV ASPNETCORE_URLS=http://0.0.0.0:8080
2020
EXPOSE 8080

0 commit comments

Comments
 (0)