mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-14 00:16:21 +00:00
Merge branch 'null31-safe.fiery.me' into safe.fiery.me
This commit is contained in:
commit
d706c07ac1
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
# git directories
|
||||
.git
|
||||
.github
|
15
Dockerfile
15
Dockerfile
@ -8,16 +8,17 @@ 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
|
||||
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
|
||||
|
||||
RUN yarn install
|
||||
|
||||
RUN apk update
|
||||
|
||||
RUN apk del build-dependencies
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 9999
|
||||
|
||||
CMD ["node", "lolisafe.js"]
|
||||
|
Loading…
Reference in New Issue
Block a user