Dockerfile 454 B

1234567891011121314
  1. FROM node:15-alpine
  2. RUN apk add git make g++ gcc musl-dev python beets python3 ffmpeg shadow && \
  3. groupmod --new-name tdedhar node && \
  4. usermod -l tdedhar node && \
  5. mv /home/node /home/tdedhar && \
  6. chown -R tdedhar /home/tdedhar
  7. USER tdedhar
  8. ENV HOME /home/tdedhar
  9. RUN mkdir -p /home/tdedhar/src && \
  10. mkdir -p /home/tdedhar/.config/beets
  11. COPY src/ /home/tdedhar/src/
  12. WORKDIR /home/tdedhar/src
  13. RUN yarn install
  14. ENTRYPOINT node viki.js