Skip to content
Merged
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
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:22-alpine AS build

WORKDIR /app

COPY package.json ./
COPY package*.json ./
RUN npm install

COPY . .
Expand All @@ -27,15 +27,11 @@ CMD ["ng", "serve"]

# Local Development - coding
FROM node:22-alpine AS local-dev
# FROM node:20-bullseye AS local-dev
WORKDIR /app

# Upgrade npm to include the fix
RUN npm i -g npm@11.5.2

# Install deps in the image (kept in container)
COPY package.json ./
COPY package-lock.docker.json ./package-lock.json
COPY package*.json ./
# COPY package-lock.docker.json ./package-lock.json
RUN npm ci --no-audit --no-fund

# Expose Angular dev server
Expand Down
Loading