You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lolisafe/Dockerfile

25 lines
480 B
Docker

3 years ago
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 git \
&& apk del build-dependencies \
&& yarn install --production \
&& yarn cache clean
3 years ago
3 years ago
ADD config.sample.js config.js
3 years ago
COPY . .
3 years ago
EXPOSE 9999
CMD ["node", "lolisafe.js"]