antizucc/Dockerfile

13 lines
186 B
Docker
Raw Normal View History

2023-04-19 21:45:19 +00:00
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", "."]