MrFrank2 commited on
Commit
c6dfca4
·
verified ·
1 Parent(s): e2e7dab

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:lts-buster
2
+ USER root
3
+ RUN apt-get update && \
4
+ apt-get install -y ffmpeg webp git && \
5
+ apt-get upgrade -y && \
6
+ rm -rf /var/lib/apt/lists/*
7
+ USER node
8
+ RUN git clone https://github.com/xeonser/SUBZERO /home/node/SUBZERO
9
+ WORKDIR /home/node/SUBZERO
10
+ RUN chmod -R 777 /home/node/SUBZERO/
11
+ RUN yarn install --network-concurrency 1
12
+ EXPOSE 7860
13
+ ENV NODE_ENV=production
14
+ CMD ["npm", "start"]