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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -6
Dockerfile CHANGED
@@ -1,13 +1,14 @@
1
  FROM requarks/wiki:2
2
 
3
- # Hugging Face ရဲ့ Port အတွက်
4
  ENV PORT=7860
5
  ENV NODE_ENV=production
6
 
7
- # Database Settings တွေကို Docker ထဲမှာ တိုက်ရိုက်သတ်မှတ်ပေးလိုက်ခြင်း
8
- # (Variable တွေကနေ မဖတ်နိုင်ရင် ဒီကနေ ဖတ်သွားအောင်လို့ပါ)
9
- ENV DB_TYPE=postgres
10
- ENV DB_SSL=true
11
 
12
  EXPOSE 7860
13
- CMD [ "node", "server" ]
 
 
 
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"]