Browse Source

Config comes from env vars

Robert Marshall 2 years ago
parent
commit
5b987d13c1
1 changed files with 0 additions and 5 deletions
  1. 0 5
      Dockerfile

+ 0 - 5
Dockerfile

@@ -5,11 +5,6 @@ RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
 RUN apt-get install -y nodejs
 RUN chmod +x ./build.sh
 RUN ./build.sh
-RUN sed -i "s/<AuthEndpoint>/${AuthEndpoint}/g" output/appsettings.json
-RUN sed -i "s/<AuthApiKey>/${AuthApiKey}/g" output/appsettings.json
-RUN sed -i "s/<BlogEndpoint>/${BlogEndpoint}/g" output/appsettings.json
-RUN sed -i "s/<GitEndpoint>/${GitEndpoint}/g" output/appsettings.json
-RUN sed -i "s/<MailboxEndpoint>/${MailboxEndpoint}/g" output/appsettings.json
 
 FROM mcr.microsoft.com/dotnet/aspnet:7.0
 WORKDIR /app