部署docker化

This commit is contained in:
andy
2026-08-03 11:25:55 +08:00
parent ed6229c203
commit 393b841023
9 changed files with 284 additions and 0 deletions

10
Dockerfile.frontend Normal file
View File

@@ -0,0 +1,10 @@
FROM nginx:1.27-alpine
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
COPY deploy/frontend-entrypoint.sh /docker-entrypoint.d/50-condo-runtime-config.sh
COPY index.html styles.css app.js api-client.js owners-data.js favicon.svg runtime-config.js /usr/share/nginx/html/
RUN chmod +x /docker-entrypoint.d/50-condo-runtime-config.sh
EXPOSE 80