mirror of
https://github.com/pacnpal/markov-discord.git
synced 2025-12-20 03:01:04 -05:00
Add tini
This commit is contained in:
@@ -5,6 +5,8 @@ FROM node:16-alpine3.14 as base
|
|||||||
|
|
||||||
WORKDIR /usr/app
|
WORKDIR /usr/app
|
||||||
|
|
||||||
|
RUN apk add --no-cache tini
|
||||||
|
|
||||||
########
|
########
|
||||||
# BUILD
|
# BUILD
|
||||||
########
|
########
|
||||||
@@ -49,4 +51,5 @@ ARG COMMIT_SHA=""
|
|||||||
ENV NODE_ENV=production \
|
ENV NODE_ENV=production \
|
||||||
COMMIT_SHA=${COMMIT_SHA}
|
COMMIT_SHA=${COMMIT_SHA}
|
||||||
|
|
||||||
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
CMD [ "node", "/usr/app/dist/index.js" ]
|
CMD [ "node", "/usr/app/dist/index.js" ]
|
||||||
Reference in New Issue
Block a user