alcex commited on
Commit
568fdd3
·
verified ·
1 Parent(s): d0395a1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -13
Dockerfile CHANGED
@@ -1,16 +1,3 @@
1
  # 使用基础镜像
2
  FROM imsyy/dailyhot-api:latest
3
-
4
- # 切换到root用户
5
- USER root
6
-
7
- # 清除npm缓存
8
-
9
- # 安装TypeScript编译器
10
- RUN npm install -g typescript
11
-
12
- # 暴露端口
13
  EXPOSE 6688
14
-
15
- # 在容器内运行应用程序
16
- CMD ["npm", "start"]
 
1
  # 使用基础镜像
2
  FROM imsyy/dailyhot-api:latest
 
 
 
 
 
 
 
 
 
 
3
  EXPOSE 6688