Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM docker.io/node:buster AS jsbuild

RUN mkdir /app
COPY . /app
WORKDIR /app/frontend
RUN npm install && npm run build



FROM mcr.microsoft.com/dotnet/sdk:6.0
COPY --from=jsbuild /app /app
WORKDIR /app/server/Ksp.WebServer
RUN dotnet build


EXPOSE 80
CMD dotnet run --urls http://0.0.0.0:80