fix docker file
All checks were successful
Build and Push Docker Image to Gitea Registry / build-and-push (push) Successful in 5s
All checks were successful
Build and Push Docker Image to Gitea Registry / build-and-push (push) Successful in 5s
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
# 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
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user