mirror of
https://github.com/Quackster/Minerva.git
synced 2025-06-29 21:07:45 +00:00
commit
e7c53abd6f
2 changed files with 22 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS builder
|
||||
WORKDIR /sources
|
||||
COPY . .
|
||||
|
||||
RUN apt update && apt install -y unzip
|
||||
RUN dotnet publish -c Release --output build Minerva.sln --self-contained false
|
||||
RUN unzip -qq ./tools/figuredata-shockwave.zip -d build
|
||||
RUN unzip -qq ./tools/badges.zip -d build
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||
WORKDIR /minerva
|
||||
COPY --from=builder /sources/build .
|
||||
ENTRYPOINT ["/minerva/Minerva"]
|
9
docker-compose.yaml
Normal file
9
docker-compose.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
services:
|
||||
minerva:
|
||||
build: .
|
||||
networks:
|
||||
- havana_havana
|
||||
|
||||
networks:
|
||||
havana_havana:
|
||||
external: true
|
Loading…
Add table
Reference in a new issue