FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ nginx \ wget \ curl \ git \ build-essential \ vim \ nano \ && rm -rf /var/lib/apt/lists/* RUN wget -O /usr/local/bin/ttyd https://github.com/tsl0922/ttyd/releases/download/1.7.3/ttyd.x86_64 && \ chmod +x /usr/local/bin/ttyd RUN mkdir -p /var/www/html COPY index.html /var/www/html/index.html COPY nginx.conf /etc/nginx/nginx.conf COPY start.sh /start.sh RUN chmod +x /start.sh WORKDIR /workspace EXPOSE 80 CMD ["/start.sh"]