部署docker化
This commit is contained in:
10
Dockerfile.frontend
Normal file
10
Dockerfile.frontend
Normal 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
|
||||
Reference in New Issue
Block a user