filesafe/Dockerfile

25 lines
476 B
Docker

FROM node:lts-alpine
LABEL name "lolisafe-bobbywibowo"
LABEL version "3.0.0"
LABEL maintainer "evanmn <docker@evan.mn>"
WORKDIR /usr/src/lolisafe
COPY package.json yarn.lock ./
RUN apk --no-cache update \
&& apk add --no-cache --virtual build-dependencies python make g++ \
&& apk add --no-cache ffmpeg \
&& apk del build-dependencies \
&& yarn install --production \
&& yarn cache clean
ADD config.sample.js config.js
COPY . .
EXPOSE 9999
CMD ["node", "lolisafe.js"]