diff --git a/Dockerfile b/Dockerfile index ab62d5a..bf7ee1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . . diff --git a/docker-compose.yml b/docker-compose.yml index d96743f..82ba997 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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/"]