Updated web build #405

This commit is contained in:
Sven Heidemann 2023-10-15 11:31:28 +02:00
parent 9c5760e0f9
commit 4c1de9e20b
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM nginx:alpine FROM nginx:alpine
COPY nginx.conf.template /etc/nginx/conf.d/nginx.conf.template COPY nginx.conf.template /etc/nginx/conf.d/nginx.conf.template
RUN rm -rf /usr/share/nginx/html/* RUN rm -rf /usr/share/nginx/html/*
COPY ./dist/kdb-web/ /usr/share/nginx/html COPY ./dist/web/ /usr/share/nginx/html
RUN apk update RUN apk update
RUN apk add bash RUN apk add bash
CMD /bin/bash -c "envsubst '\$BOT_CONTAINER_NAME' < /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/nginx.conf; nginx -g 'daemon off;'" CMD /bin/bash -c "envsubst '\$BOT_CONTAINER_NAME' < /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/nginx.conf; nginx -g 'daemon off;'"

View File

@ -1,5 +1,5 @@
{ {
"name": "kdb-web", "name": "web",
"version": "1.2.0", "version": "1.2.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
@ -52,4 +52,4 @@
"tslib": "^2.4.1", "tslib": "^2.4.1",
"typescript": "~4.9.5" "typescript": "~4.9.5"
} }
} }