Fix Docker build and change port to 8880

- Install all dependencies including devDependencies for build
- Change port mapping from 8080 to 8880

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Thomas Richter
2025-12-16 23:40:14 +01:00
parent 0064773eaa
commit d6941621cd
2 changed files with 3 additions and 3 deletions

View File

@@ -8,8 +8,8 @@ WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci --only=production
# Install all dependencies (including dev dependencies needed for build)
RUN npm ci
# Copy source code
COPY . .

View File

@@ -8,7 +8,7 @@ services:
image: whalehunting-game:latest
container_name: whalehunting-game
ports:
- "8080:80"
- "8880:80"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/"]