Compare commits
4 Commits
9d4cf5a769
...
0.3
| Author | SHA1 | Date | |
|---|---|---|---|
| 89ee16d1b5 | |||
| 4c577f6a7b | |||
| f50a763539 | |||
| 9ff9cc672e |
Submodule kdb-bot/src/bot/config updated: 9262f4f88f...e6faabbd8b
@@ -1,4 +1,7 @@
|
||||
FROM nginx:alpine
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY nginx.conf.template /etc/nginx/conf.d/nginx.conf.template
|
||||
RUN rm -rf /usr/share/nginx/html/*
|
||||
COPY ./dist/kdb-web/ /usr/share/nginx/html
|
||||
RUN apk update
|
||||
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;'"
|
||||
|
||||
@@ -24,7 +24,7 @@ http {
|
||||
}
|
||||
|
||||
location /api {
|
||||
proxy_pass http://kdb_bot_staging_1;
|
||||
proxy_pass http://${BOT_CONTAINER_NAME};
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,4 +50,4 @@
|
||||
"tslib": "^2.4.1",
|
||||
"typescript": "~4.7.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user