Skip to content

Commit

Permalink
sigkill
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Jan 17, 2025
1 parent e97638e commit e3c7a55
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ ENV NODE_ENV=production
WORKDIR /app
COPY --from=builder /app /app

STOPSIGNAL SIGKILL

ENTRYPOINT [ "node","ledder/server/server.js" ]


### builder forarmv7 (for raspberry). resuses most of amd64 builder for performance (qemu issues)
FROM --platform=linux/arm/v7 node:22 AS ledder-armv7-builder
### final stage for armv7 (for raspberry).
# (resuses most of amd64 builder for performance (qemu issues))
FROM --platform=linux/arm/v7 node:22 AS ledder-armv7
ENV NODE_ENV=production

RUN apt update && apt install -y build-essential cmake
Expand All @@ -44,6 +47,7 @@ COPY --from=builder /app /app
#rebuilds stuff for arm if needed
RUN npm rebuild --verbose

STOPSIGNAL SIGKILL

ENTRYPOINT [ "/entrypoint.sh" ]

Expand Down

0 comments on commit e3c7a55

Please sign in to comment.