memex-in commited on
Commit
66b6e48
·
verified ·
1 Parent(s): bf62ecd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -5,8 +5,9 @@ RUN apt install git -y
5
 
6
  RUN apt-get install build-essential cmake git libjson-c-dev libwebsockets-dev -y
7
  RUN git clone https://github.com/tsl0922/ttyd.git
8
-
9
- RUN cd ttyd && mkdir build && cd build
 
10
  RUN cmake ..
11
  RUN make && make install
12
  CMD ["ttyd", "-p", "8080", "bash"]
 
5
 
6
  RUN apt-get install build-essential cmake git libjson-c-dev libwebsockets-dev -y
7
  RUN git clone https://github.com/tsl0922/ttyd.git
8
+ WORKDIR ttyd/
9
+ RUN mkdir build
10
+ WORKDIR build/
11
  RUN cmake ..
12
  RUN make && make install
13
  CMD ["ttyd", "-p", "8080", "bash"]