diff --git a/Dockerfile b/Dockerfile index b3b690e..d0439e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 # cacheble npm install stage that only reruns if package.json actually changes. -FROM node:21 AS builder +FROM node:22 AS builder ENV NODE_ENV=production @@ -14,12 +14,12 @@ RUN NODE_ENV=development npm install COPY . . -RUN npm run build +RUN npm run buildweb RUN npm prune --production # final stage -FROM node:21 AS final +FROM node:22 AS final ENV NODE_ENV=production WORKDIR /app diff --git a/docker-compose.yml b/docker-compose.yml index 382de31..9d58e91 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,6 @@ version: '3.3' services: ledder: - platform: linux/arm/v7 stop_grace_period: 0s build: context: .