mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 18:54:52 +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
|
FROM --platform=$BUILDPLATFORM node:current-alpine AS builder
|
||||||
|
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ RUN npm install -g yarn@latest --force \
|
|||||||
&& yarn cache clean \
|
&& yarn cache clean \
|
||||||
&& yarn autoclean --force
|
&& yarn autoclean --force
|
||||||
|
|
||||||
# Stage 2: Production Stage
|
# final: Final Darkwire Image
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
WORKDIR /opt/app
|
WORKDIR /opt/app
|
||||||
@ -37,4 +37,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD \
|
|||||||
|
|
||||||
CMD ["/opt/app/start.sh", "start" ]
|
CMD ["/opt/app/start.sh", "start" ]
|
||||||
|
|
||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user