filesafe/Dockerfile

25 lines
476 B
Docker
Raw Normal View History

2020-05-26 16:04:50 +00:00
FROM node:lts-alpine
2018-03-01 21:03:47 +00:00
2020-05-28 15:05:12 +00:00
LABEL name "lolisafe-bobbywibowo"
2018-03-01 21:03:47 +00:00
LABEL version "3.0.0"
2020-05-28 15:05:12 +00:00
LABEL maintainer "evanmn <docker@evan.mn>"
2018-03-01 21:03:47 +00:00
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
2020-05-26 16:04:50 +00:00
2020-05-26 16:05:29 +00:00
ADD config.sample.js config.js
2020-05-26 16:04:50 +00:00
COPY . .
2020-05-26 16:04:50 +00:00
EXPOSE 9999
2018-03-01 21:03:47 +00:00
CMD ["node", "lolisafe.js"]