Compare commits

...

2 Commits

Author SHA1 Message Date
267c4165dd Fix line endings in docker image
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2025-06-28 17:48:16 +02:00
ef1c1d8ba1 Fix resolver by always using local resolver 2025-06-28 17:46:14 +02:00
2 changed files with 4 additions and 5 deletions

View File

@@ -8,13 +8,12 @@ RUN pnpm "build:$CONFIGURATION"
FROM nginx:alpine FROM nginx:alpine
RUN rm /etc/nginx/conf.d/* RUN rm /etc/nginx/conf.d/*
RUN apk add --update dos2unix
ENV DOLLAR=$ ENV DOLLAR=$
WORKDIR /usr/share/nginx/html 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 --from=build /usr/local/app/dist/Vegasco-Web/browser .
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf
RUN dos2unix /etc/nginx/nginx.conf
COPY webserver.conf.template /etc/nginx/templates/webserver.conf.template COPY webserver.conf.template /etc/nginx/templates/webserver.conf.template
RUN dos2unix /etc/nginx/templates/webserver.conf.template
EXPOSE 80 EXPOSE 80

View File

@@ -2,7 +2,7 @@ events { }
http { http {
include mime.types; include mime.types;
resolver 8.8.8.8 8.8.4.4 1.1.1.1 127.0.0.11; resolver 127.0.0.11;
include /etc/nginx/conf.d/webserver.conf; include /etc/nginx/conf.d/webserver.conf;
} }