OrbitMC commited on
Commit
119ad15
·
verified ·
1 Parent(s): 8aff824

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -14,8 +14,8 @@ RUN wget -O- https://apt.corretto.aws/corretto.key | gpg --dearmor > /usr/share/
14
  apt-get install -y java-21-amazon-corretto-jdk && \
15
  rm -rf /var/lib/apt/lists/*
16
 
17
- # Install Python packages
18
- RUN pip3 install --no-cache-dir --break-system-packages gdown
19
 
20
  # Set working directory
21
  WORKDIR /app
@@ -27,7 +27,7 @@ COPY . /app
27
  RUN chmod -R 777 /app && \
28
  chmod +x /app/start.sh
29
 
30
- # Expose Minecraft port
31
  EXPOSE 7860
32
 
33
  # Set default command
 
14
  apt-get install -y java-21-amazon-corretto-jdk && \
15
  rm -rf /var/lib/apt/lists/*
16
 
17
+ # Install Python packages for the Web UI Panel
18
+ RUN pip3 install --no-cache-dir --break-system-packages gdown fastapi uvicorn websockets python-multipart aiofiles
19
 
20
  # Set working directory
21
  WORKDIR /app
 
27
  RUN chmod -R 777 /app && \
28
  chmod +x /app/start.sh
29
 
30
+ # Expose Web UI port (Hugging Face standard)
31
  EXPOSE 7860
32
 
33
  # Set default command