mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 10:49:02 +00:00
Update Dockerfile
This commit is contained in:
parent
903dbd3f4e
commit
34c6f3b14d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user