13 lines
186 B
Docker
13 lines
186 B
Docker
|
FROM node:lts-alpine
|
||
|
RUN apk add --no-cache tini
|
||
|
|
||
|
COPY --chown=node:node . /bot
|
||
|
WORKDIR /bot
|
||
|
|
||
|
USER node
|
||
|
|
||
|
RUN npm i --no-audit --no-fund
|
||
|
|
||
|
ENTRYPOINT ["/usr/bin/tini", "--", "node", "."]
|
||
|
|