mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
24 lines
426 B
Docker
24 lines
426 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 add --no-cache --virtual build-dependencies python make g++ && apk add --no-cache ffmpeg
|
|
|
|
ADD config.sample.js config.js
|
|
|
|
RUN yarn install
|
|
|
|
RUN apk update
|
|
|
|
RUN apk del build-dependencies
|
|
|
|
COPY . .
|
|
EXPOSE 9999
|
|
CMD ["node", "lolisafe.js"]
|