From f8cc26a4974b3bd70972ac3902a19c2cb4ccfaa9 Mon Sep 17 00:00:00 2001 From: Juan Felipe Zapata Moreno Date: Tue, 30 Dec 2025 14:00:59 -0600 Subject: [PATCH] =?UTF-8?q?Actualizaci=C3=B3n=20de=20la=20configuraci?= =?UTF-8?q?=C3=B3n=20de=20Docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 10 +++++----- dockerfile | 4 +++- install.sh | 6 +++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index fab45f9..9fecd13 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,16 +1,16 @@ services: - holos-frontend: + pdv-frontend: build: context: . dockerfile: dockerfile ports: - "${APP_PORT}:5173" volumes: - - .:/var/www/holos.frontend - - /var/www/holos.frontend/node_modules + - .:/var/www/pdv.frontend + - /var/www/pdv.frontend/node_modules networks: - - holos-network + - pdv-network networks: - holos-network: + pdv-network: driver: bridge \ No newline at end of file diff --git a/dockerfile b/dockerfile index 80d3f3f..9017826 100644 --- a/dockerfile +++ b/dockerfile @@ -1,6 +1,8 @@ FROM node:22-alpine AS build -WORKDIR /var/www/holos.frontend +RUN apk add --no-cache bash + +WORKDIR /var/www/pdv.frontend COPY package*.json ./ diff --git a/install.sh b/install.sh index 96438df..be191a0 100755 --- a/install.sh +++ b/install.sh @@ -1,11 +1,11 @@ -#! /bin/bash +#!/bin/sh if [ ! -f .env ]; then cp .env.example .env fi -if [ ! -f colors.json ]; then - cp colors.json.example colors.json +if [ ! -f colors.css ]; then + cp colors.css.example colors.css fi exec "$@"