wixcs commited on
Commit
b2214d7
·
verified ·
1 Parent(s): cb4a24e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -12
Dockerfile CHANGED
@@ -1,15 +1,9 @@
1
- # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
- # you will also find guides on how best to write your Dockerfile
3
 
4
- FROM exwjk/kasm:fedora-xfce-3
 
5
 
6
- RUN useradd -m -u 1000 user
7
- USER user
8
- ENV PATH="/home/user/.local/bin:$PATH"
9
 
10
- WORKDIR /app
11
-
12
-
13
-
14
-
15
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "3000"]
 
1
+ # 使用 exwjk/kasm:ubuntu-xfce-3 作为基础镜像
2
+ FROM exwjk/kasm:ubuntu-xfce-3
3
 
4
+ # 设置容器监听的端口
5
+ EXPOSE 3000
6
 
7
+ # 可选:设置默认启动命令(如果镜像没有定义)
8
+ # CMD ["your-start-command"]
 
9