saikub commited on
Commit
9a36913
1 Parent(s): e53b97f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -11
Dockerfile CHANGED
@@ -26,16 +26,11 @@ RUN \
26
  # Create a working directory
27
  WORKDIR /app
28
 
29
- RUN chmod +x server.sh
 
30
 
31
- ENV PYTHONUNBUFFERED=1 \
32
- GRADIO_ALLOW_FLAGGING=never \
33
- GRADIO_NUM_PORTS=1 \
34
- GRADIO_SERVER_NAME=0.0.0.0 \
35
- GRADIO_THEME=huggingface \
36
- SYSTEM=spaces \
37
- SHELL=/bin/bash
38
 
39
- EXPOSE 3000
40
-
41
- CMD ["./server.sh"]
 
26
  # Create a working directory
27
  WORKDIR /app
28
 
29
+ # Run the install script
30
+ RUN sudo bash install.sh --accept-eula --swap-size 4096
31
 
32
+ # Expose the port that kasm listens on
33
+ EXPOSE 8080
 
 
 
 
 
34
 
35
+ # Run kasm when the container starts
36
+ CMD ["kasm"]