From 267c4165dd0c78410137ba0e90e4f5a0f4048750 Mon Sep 17 00:00:00 2001 From: ThompsonNye Date: Sat, 28 Jun 2025 17:48:16 +0200 Subject: [PATCH] Fix line endings in docker image --- src/Vegasco-Web/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Vegasco-Web/Dockerfile b/src/Vegasco-Web/Dockerfile index 2384f71..7a66bc5 100644 --- a/src/Vegasco-Web/Dockerfile +++ b/src/Vegasco-Web/Dockerfile @@ -8,13 +8,12 @@ RUN pnpm "build:$CONFIGURATION" FROM nginx:alpine RUN rm /etc/nginx/conf.d/* - +RUN apk add --update dos2unix ENV DOLLAR=$ - WORKDIR /usr/share/nginx/html -ENV services__Api__https__0="" -ENV services__Api__http__0="" COPY --from=build /usr/local/app/dist/Vegasco-Web/browser . COPY nginx.conf /etc/nginx/nginx.conf +RUN dos2unix /etc/nginx/nginx.conf COPY webserver.conf.template /etc/nginx/templates/webserver.conf.template +RUN dos2unix /etc/nginx/templates/webserver.conf.template EXPOSE 80