Skip to content

Commit

Permalink
changing to 22.8-slim
Browse files Browse the repository at this point in the history
  • Loading branch information
htilly committed Sep 5, 2024
1 parent 13b3d92 commit 3ea2e9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Use the official Node.js image based on Alpine Linux
# The --platform flag is used here to make sure we use a multi-platform base image
FROM --platform=$BUILDPLATFORM node:22-alpine AS base
FROM --platform=$BUILDPLATFORM node:22.8-slim AS base

# Update and install git (if needed for your application)
RUN apk update && \
apk upgrade && \
apk add git && \
git clone https://github.com/htilly/zenmusic.git
#RUN apk update && \
# apk upgrade

# Clear npm cache to reduce image size and avoid potential issues
RUN npm cache clean --force
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile-local
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Use the official Node.js image based on Alpine Linux
# The --platform flag is used here to make sure we use a multi-platform base image
FROM --platform=$BUILDPLATFORM node:22-alpine AS base
FROM --platform=$BUILDPLATFORM node:22.8-slim AS base

# Update and install git (if needed for your application)
RUN apk update && \
apk upgrade
#RUN apk update && \
# apk upgrade

# Clear npm cache to reduce image size and avoid potential issues
RUN npm cache clean --force
Expand Down

0 comments on commit 3ea2e9a

Please sign in to comment.