Add v1 12d20 2123

This commit is contained in:
yznahmad 2025-07-03 01:49:30 +03:00
parent 0cbc1af836
commit b47c7b1c67
2 changed files with 3 additions and 3 deletions

View File

@ -26,8 +26,8 @@ services:
# Web Application (Next.js)
webapp:
build:
context: .
dockerfile: webapp/Dockerfile
context: ./webapp
dockerfile: Dockerfile
target: runner
container_name: infinity-webapp
restart: unless-stopped

View File

@ -5,7 +5,7 @@ WORKDIR /app
# Install dependencies
COPY package.json package-lock.json* ./
RUN if [ -f package-lock.json ]; then npm ci; \
else echo "Lockfile not found." && exit 1; fi
else echo "package-lock.json not found, running npm install" && npm install --production; fi
# Copy source code
COPY . .