Webterminal / Dockerfile
memex-in's picture
Update Dockerfile
3ba3d75 verified
raw
history blame contribute delete
317 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
WORKDIR ttyd/
RUN mkdir build
WORKDIR build/
RUN cmake ..
RUN make && make install
EXPOSE 8080
CMD ["ttyd", "-p", "8080", "bash"]