Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ COPY . .
RUN npm run build

# ===== Stage 2: Production =====
FROM node:22-slim AS production
FROM node:20-bookworm-slim AS production

# Install Chrome/Chromium and required dependencies
RUN apt-get update && apt-get install -y \
Expand Down
2 changes: 1 addition & 1 deletion dashboard/Dockerfile.traefik
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM node:20-alpine AS builder
WORKDIR /app

COPY package*.json ./
RUN npm ci
RUN npm install --legacy-peer-deps

COPY . .
RUN npm run build
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
profiles: ['with-proxy', 'full']
restart: unless-stopped
ports:
- '127.0.0.1:${DASHBOARD_PORT:-2886}:80'
- '${DASHBOARD_PORT:-2886}:80'
- '127.0.0.1:8080:8080' # Traefik dashboard
volumes:
- ./traefik/traefik.yml:/etc/traefik/traefik.yml:ro
Expand All @@ -26,7 +26,7 @@ services:
container_name: openwa-api
restart: unless-stopped
ports:
- '127.0.0.1:${API_PORT:-2785}:2785'
- '${API_PORT:-2785}:2785'
expose:
- '2785'
environment:
Expand Down