Subham9126 commited on
Commit
ba42bd0
·
verified ·
1 Parent(s): 99b23a4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -1,9 +1,10 @@
1
  FROM requarks/wiki:2
2
 
3
- # HF Spaces requires port 7860
4
  ENV PORT=7860
 
 
5
  EXPOSE 7860
6
 
7
- # The official image uses these variables by default
8
- # We just ensure the working directory is correct
9
- WORKDIR /wiki
 
1
  FROM requarks/wiki:2
2
 
3
+ # Tell Wiki.js which port to listen on (required for HF Spaces)
4
  ENV PORT=7860
5
+
6
+ # EXPOSE is for documentation; HF will automatically map 7860
7
  EXPOSE 7860
8
 
9
+ # Start the server using the official command
10
+ CMD ["node", "server"]