Compare commits
2 Commits
8d4ae30224
...
267c4165dd
| Author | SHA1 | Date | |
|---|---|---|---|
| 267c4165dd | |||
| ef1c1d8ba1 |
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user