init comit
Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 3s

This commit is contained in:
jafreli
2025-01-16 03:17:39 +01:00
commit a139b7749f
4 changed files with 94 additions and 0 deletions

14
dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# 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;"]