radiobot/Dockerfile

25 lines
417 B
Text
Raw Normal View History

2022-03-22 21:26:09 -04:00
FROM node:16-alpine
2022-03-22 20:25:39 -04:00
WORKDIR /app
2022-03-22 21:26:09 -04:00
COPY ./package.json /app/package.json
RUN apk add --no-cache ffmpeg \
&& apk add --no-cache --virtual .build-deps \
g++ \
gcc \
libgcc \
make \
autoconf \
libtool \
automake \
python3 \
&& npm install \
&& apk del .build-deps
ENV CONFIG_FILE="./config/config.toml"
2022-03-22 20:25:39 -04:00
COPY . /app
CMD ["node", "index.js"]