initial commit

This commit is contained in:
2019-09-27 10:37:02 -07:00
commit b66eb8abe7
13 changed files with 2386 additions and 0 deletions

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
FROM node:12-alpine
# install/build node modules, with full c build chain
WORKDIR /app
# install youtube-dl
RUN set -xe \
&& apk add --no-cache ca-certificates \
ffmpeg \
openssl \
python3 \
&& pip3 install youtube-dl
# install app dependencies
RUN npm install -g yarn
COPY package.json yarn.lock ./
RUN yarn install
WORKDIR /app
VOLUME /app/data
COPY --from=0 /build .
COPY . .
ENTRYPOINT ["yarn", "start"]