Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 3s
15 lines
379 B
Plaintext
15 lines
379 B
Plaintext
# Dockerfile
|
|
FROM nginx:alpine
|
|
|
|
# Kopiere die HTML-Datei in das Nginx-HTML-Verzeichnis
|
|
COPY view/index.html /usr/share/nginx/html/index.html
|
|
|
|
# Kopiere die CSS-Datei in das Nginx-HTML-Verzeichnis
|
|
COPY view/styles.css /usr/share/nginx/html/styles.css
|
|
|
|
# Exponiere den Port 80 für den Container
|
|
EXPOSE 80
|
|
|
|
# Standardbefehl zum Starten von Nginx
|
|
CMD ["nginx", "-g", "daemon off;"]
|