thwinthithtoo15 commited on
Commit
7e5bc1f
·
verified ·
1 Parent(s): 3f548de

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -6
Dockerfile CHANGED
@@ -1,14 +1,12 @@
1
  FROM requarks/wiki:2
2
 
3
- # PORT ကို Variable ကနေ မယူဘဲ ဒီမှာတင် အတင်းသတ်မှတ်လိုက်တာပါ
4
  ENV PORT=7860
 
5
  ENV NODE_ENV=production
6
 
7
- # Database Settings တွေကိုပါ Dockerfile ထဲ တိုက်ရိုက်ထည့်ချင်ရင် အောက်က line တွေကို သုံးပါ (optional)
8
- # ENV DB_TYPE=postgres
9
- # ENV DB_SSL=true
10
-
11
  EXPOSE 7860
12
 
13
- # Port 7860 မှာ Run ဖို့ Wiki.js ကို အမိန့်ပေးခြင်း
14
  CMD ["node", "server", "--port", "7860"]
 
1
  FROM requarks/wiki:2
2
 
3
+ # Port ကို 7860 မှာ အသေထားမယ်
4
  ENV PORT=7860
5
+ ENV WIKI_PORT=7860
6
  ENV NODE_ENV=production
7
 
8
+ # Hugging Face က Port 7860 ကိုပဲ သုံးတာဖြစ်လို့
 
 
 
9
  EXPOSE 7860
10
 
11
+ # Wiki.js ကို Port 7860 မှာ အတင်း run ခိုင်းတဲ့ command ပါ
12
  CMD ["node", "server", "--port", "7860"]