chore: update Dockerfile

This commit is contained in:
jmal 2024-05-22 15:30:59 +08:00
parent e3517d5248
commit 47c5ad0856
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,8 @@ COPY nginx.conf /etc/nginx/nginx.conf.template
COPY dist /var/www/public
COPY config.js /var/www/public
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh

4
config.js Normal file
View File

@ -0,0 +1,4 @@
window._env_ = {
API_URL: "",
API_OFFICE_URL: "",
};