asfag654 commited on
Commit
54ed672
·
verified ·
1 Parent(s): 8b96486

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:latest
2
+ ENV TZ=Asia/Shanghai
3
+ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
4
+ echo $TZ > /etc/timezone
5
+ ENV DEBIAN_FRONTEND=noninteractive
6
+ RUN apt-get update && \
7
+ apt-get install -y -qq wget curl tzdata git
8
+ EXPOSE 7860
9
+ WORKDIR /zmal
10
+ RUN git clonr https://github.com/xizeyoupan/Meting-API.git
11
+ WORKDIR /zmal/Meting-API
12
+ RUN npm i
13
+ CMD npm run build:all