Skip to content

Commit

Permalink
dont prebuild previews
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Sep 9, 2024
1 parent f1ea90b commit ec41c40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '3.3'

services:
ledder:
platform: linux/arm/v7
stop_grace_period: 0s
build:
context: .
Expand Down

0 comments on commit ec41c40

Please sign in to comment.