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 "$@"