Zlatislav Zlatev commited on
Commit
ad0f76f
·
1 Parent(s): cd1a742

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -17,9 +17,12 @@ RUN apt update && \
17
  python3.8-venv && \
18
  rm -rf /var/lib/apt/lists
19
 
20
-
21
- ENV PORT 7860
22
  RUN python3 -m venv /opt/venv
23
  ENV PATH="/opt/venv/bin:$PATH"
24
  EXPOSE 7860
25
- CMD ["shellinaboxd", "--port", "7860"]
 
 
 
 
 
17
  python3.8-venv && \
18
  rm -rf /var/lib/apt/lists
19
 
20
+ # make sure to use venv
 
21
  RUN python3 -m venv /opt/venv
22
  ENV PATH="/opt/venv/bin:$PATH"
23
  EXPOSE 7860
24
+
25
+ RUN python3 -m pip install --no-cache-dir --upgrade pip && \
26
+ python3 -m pip install --no-cache-dir web-terminal
27
+
28
+ CMD ["python3", "-m", "web-terminal", "--port", "$PORT"]