Webterminal / Dockerfile
memex-in's picture
Update Dockerfile
3b40f23 verified
raw
history blame
294 Bytes
FROM ubuntu
RUN apt update
RUN apt install git -y
RUN apt-get install build-essential cmake git libjson-c-dev libwebsockets-dev
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"]