mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-30 14:25:46 +00:00
+
This commit is contained in:
parent
043c6a87f6
commit
f1b89ed4bc
10
Dockerfile
10
Dockerfile
@ -14,12 +14,6 @@ RUN apk update \
|
||||
&& yarn cache clean \
|
||||
&& yarn autoclean --force
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Stage 2: Production Stage
|
||||
FROM node:alpine3.19
|
||||
|
||||
@ -32,4 +26,8 @@ RUN apk add --no-cache nginx openssl && \
|
||||
chmod +x /home/node/start.sh
|
||||
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
|
||||
CMD [ "curl", "-f", "${VITE_API_PROTOCOL}://localhost:${VITE_API_PORT}", "||", "exit", "1" ]
|
||||
|
||||
CMD ["/home/node/start.sh"]
|
Loading…
x
Reference in New Issue
Block a user