From 61741cef3027a456e9e818a1333a7b51adab6b14 Mon Sep 17 00:00:00 2001 From: Simon Martens Date: Sat, 28 Oct 2023 09:59:22 +0200 Subject: [PATCH] Dockerfile correction & settings --- HaWeb/Dockerfile | 24 ------------------------ global.json_old | 5 ----- 2 files changed, 29 deletions(-) delete mode 100644 HaWeb/Dockerfile delete mode 100644 global.json_old diff --git a/HaWeb/Dockerfile b/HaWeb/Dockerfile deleted file mode 100644 index e94c23c..0000000 --- a/HaWeb/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -# PREREQUISITES -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build -RUN apt update -RUN apt install openssh-server nodejs npm -y - -# CLONE & SETUP -RUN git clone https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git -RUN mkdir /data/ -RUN mkdir /data/hamann/ -RUN mkdir /data/xml/ -RUN git clone https://github.com/Theodor-Springmann-Stiftung/hamann-xml.git /data/xml/ - -# COMPILE & PUBLISH -WORKDIR hamann-ausgabe-core/HaWeb/ -RUN dotnet restore -RUN npm install -RUN npm run css_build -RUN dotnet publish --no-restore -o /app - -# RUN -WORKDIR /app -RUN export DOTNET_ENVIRONMENT="Docker" -RUN dotnet HaWeb.dll -EXPOSE 5000 diff --git a/global.json_old b/global.json_old deleted file mode 100644 index 7874980..0000000 --- a/global.json_old +++ /dev/null @@ -1,5 +0,0 @@ -{ - "sdk": { - "version": "2.2.207" - } - } \ No newline at end of file