Update Dockerfile to use npm install and modify PWA theme and background colors in vite.config.ts #51

Merged
mo merged 1 commits from ph4 into prod 2025-06-02 00:29:26 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ WORKDIR /app
COPY package*.json ./ COPY package*.json ./
# Install all dependencies (including devDependencies) # Install all dependencies (including devDependencies)
RUN npm ci RUN npm install
# Copy source code # Copy source code
COPY . . COPY . .

View File

@ -20,8 +20,8 @@ const pwaOptions: Partial<VitePWAOptions> = {
name: 'mitlist', name: 'mitlist',
short_name: 'mitlist', short_name: 'mitlist',
description: 'mitlist pwa', description: 'mitlist pwa',
theme_color: '#027be3', theme_color: '#ff7b54',
background_color: '#ffffff', background_color: '#f3f3f3',
display: 'standalone', display: 'standalone',
orientation: 'portrait', orientation: 'portrait',
icons: [ icons: [