Skip to content

Commit

Permalink
move to non alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
LoV432 committed Feb 25, 2024
1 parent c0bd3f4 commit d9f038d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:18-alpine AS base
FROM node:18 AS base

# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
# # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
# RUN apk add --no-cache libc6-compat
# WORKDIR /app

# Install dependencies based on the preferred package manager
COPY package.json package-lock.json ./
Expand Down

0 comments on commit d9f038d

Please sign in to comment.