Webterminal / Dockerfile
memex-in's picture
Update Dockerfile
bf62ecd verified
raw
history blame
297 Bytes
FROM ubuntu
RUN apt update
RUN apt install git -y
RUN apt-get install build-essential cmake git libjson-c-dev libwebsockets-dev -y
RUN git clone https://github.com/tsl0922/ttyd.git
RUN cd ttyd && mkdir build && cd build
RUN cmake ..
RUN make && make install
CMD ["ttyd", "-p", "8080", "bash"]