rr1 commited on
Commit
c0cc4f1
·
verified ·
1 Parent(s): 4bf9109

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 使用Node.js作为基础镜像
2
+ FROM node:18
3
+
4
+ # 设置工作目录
5
+ WORKDIR /app
6
+
7
+ # 克隆仓库
8
+ RUN git clone https://github.com/strykerx/falai-fluxui.git .
9
+
10
+ # 安装依赖
11
+ RUN npm install
12
+
13
+ # 暴露默认端口(假设应用运行在3000端口)
14
+ EXPOSE 3000
15
+
16
+ # 设置容器启动命令
17
+ CMD ["npm", "start"]