diff --git a/Dockerfile b/Dockerfile index 447ff9a..2b2502c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile-local b/Dockerfile-local index 44aa02c..2b2502c 100644 --- a/Dockerfile-local +++ b/Dockerfile-local @@ -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