Neuere Version
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -1,18 +0,0 @@
|
||||
# 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;"]
|
||||
Reference in New Issue
Block a user