19 lines
479 B
Docker
19 lines
479 B
Docker
# Multi-stage build für minimales Image
|
|
FROM nginx:alpine
|
|
|
|
# Kopiere alle statischen Dateien
|
|
COPY index.html /usr/share/nginx/html/
|
|
COPY planning.html /usr/share/nginx/html/
|
|
COPY script.js /usr/share/nginx/html/
|
|
COPY planning.js /usr/share/nginx/html/
|
|
COPY styles.css /usr/share/nginx/html/
|
|
|
|
# Kopiere nginx Konfiguration
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Exponiere Port 80
|
|
EXPOSE 80
|
|
|
|
# nginx läuft automatisch im Vordergrund
|
|
CMD ["nginx", "-g", "daemon off;"]
|