Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ballwictb committed Feb 14, 2024
1 parent ed14344 commit b0d2648
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Utiliza una imagen base ligera con un servidor web
FROM nginx:alpine

# Copia todos los archivos de la página web al directorio de trabajo del contenedor
COPY . /usr/share/nginx/html/

# Expone el puerto 80 para que el servidor web de Nginx pueda ser accesible
EXPOSE 80

# Comando para iniciar el servidor web al ejecutar el contenedor
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit b0d2648

Please sign in to comment.