File size: 564 Bytes
7b5a694 2b969e1 c579a3b 6862d93 7b5a694 86232e6 fb6982a f7855a1 90f2f3f 1220c67 90f2f3f c579a3b 90f2f3f b0b8857 c579a3b b0b8857 c579a3b b0b8857 90f2f3f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 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"] |