Skip to content
Draft
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
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
bash \
coreutils \
default-jre \
default-jre-headless \
&& rm -rf /var/lib/apt/lists/*

# Verify the installed wget version
RUN wget --version

# Set the working directory inside the container
WORKDIR /app

Expand All @@ -23,9 +20,7 @@ COPY package*.json ./
COPY openapitools.json ./

# Install dependencies using npm ci for faster, cleaner installations in production
RUN npm ci --only=production --ignore-scripts

RUN npx @openapitools/openapi-generator-cli@2.21.3 version
RUN npm ci --only=production --ignore-scripts && npm cache clean --force

# Copy the rest of the application files
COPY . .
Expand Down