All checks were successful
Build and Push Docker Image to Gitea Registry / build-and-push (push) Successful in 5s
12 lines
266 B
Plaintext
12 lines
266 B
Plaintext
# Dockerfile
|
|
FROM nginx:alpine
|
|
|
|
# Kopiere das gesamte 'view' Verzeichnis in das Nginx-HTML-Verzeichnis
|
|
COPY view/ /usr/share/nginx/html/
|
|
|
|
# Exponiere den Port 80 für den Container
|
|
EXPOSE 80
|
|
|
|
# Standardbefehl zum Starten von Nginx
|
|
CMD ["nginx", "-g", "daemon off;"]
|