feat(ecommerce): release Ari Shopping Frontend v2
Build and Push Frontend / build (push) Successful in 1m57s
Build and Push Frontend / build (push) Successful in 1m57s
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
# Usamos una imagen de Nginx basada en Alpine para que sea extremadamente ligera
|
||||
FROM nginx:alpine
|
||||
|
||||
# Copiamos tus archivos estáticos (o el build de tu frontend) a la carpeta que sirve Nginx
|
||||
# Asumimos que tus archivos están en una carpeta llamada 'dist' o 'build' tras compilar.
|
||||
# Si solo son archivos HTML/CSS/JS, puedes copiar el contenido directamente desde '.'
|
||||
FROM nginx:1.27-alpine
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY . /usr/share/nginx/html
|
||||
|
||||
# Exponemos el puerto 80 por defecto
|
||||
EXPOSE 80
|
||||
|
||||
# Comando para ejecutar Nginx en modo 'daemon off' para que el contenedor no se detenga
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://127.0.0.1/healthz || exit 1
|
||||
|
||||
Reference in New Issue
Block a user