Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -6
Dockerfile
CHANGED
|
@@ -1,14 +1,12 @@
|
|
| 1 |
FROM requarks/wiki:2
|
| 2 |
|
| 3 |
-
#
|
| 4 |
ENV PORT=7860
|
|
|
|
| 5 |
ENV NODE_ENV=production
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
# ENV DB_TYPE=postgres
|
| 9 |
-
# ENV DB_SSL=true
|
| 10 |
-
|
| 11 |
EXPOSE 7860
|
| 12 |
|
| 13 |
-
#
|
| 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"]
|