Update Dockerfile
Browse files- Dockerfile +6 -11
Dockerfile
CHANGED
@@ -26,16 +26,11 @@ RUN \
|
|
26 |
# Create a working directory
|
27 |
WORKDIR /app
|
28 |
|
29 |
-
|
|
|
30 |
|
31 |
-
|
32 |
-
|
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 |
-
|
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"]
|
|