Update Dockerfile

This commit is contained in:
Noxcis 2024-10-10 02:19:16 -05:00 committed by GitHub
parent 903dbd3f4e
commit 34c6f3b14d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
# Stage 1: Build Stage
# builder: Builder For Darkwore
FROM --platform=$BUILDPLATFORM node:current-alpine AS builder
@ -16,7 +16,7 @@ RUN npm install -g yarn@latest --force \
&& yarn cache clean \
&& yarn autoclean --force
# Stage 2: Production Stage
# final: Final Darkwire Image
FROM alpine:latest
WORKDIR /opt/app
@ -37,4 +37,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD \
CMD ["/opt/app/start.sh", "start" ]
STOPSIGNAL SIGTERM
STOPSIGNAL SIGTERM