Mirdehghan commited on
Commit
c0cb92f
·
verified ·
1 Parent(s): 4a20c5f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM codercom/code-server:latest
2
+
3
+ USER root
4
+
5
+ # نصب git و ابزارهای پایه
6
+ RUN apt update && apt install -y git curl
7
+
8
+ # تنظیم پسورد
9
+ ENV PASSWORD=1234
10
+
11
+ # پورت مورد استفاده HF
12
+ EXPOSE 7860
13
+
14
+ # اجرای code-server روی پورت 7860
15
+ CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "password"]