This commit is contained in:
Charlie Laabs
2022-01-01 23:14:48 -06:00
parent b41d576e74
commit 87009bb930

View File

@@ -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" ]