Updated web build #405

This commit is contained in:
Sven Heidemann 2023-10-15 11:31:28 +02:00
parent be6361f619
commit 410049be6e
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",