File size: 485 Bytes
1480ad9 a7b5b0e c2104b3 1480ad9 a7b5b0e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
FROM debian:latest
ENV DEBIAN_FRONTEND=noninteractive \
HOSTNAME=rippanteq7 \
PORT=7860 \
TZ=Asia/Jakarta
USER root
RUN printenv
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y curl npm
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# RUN curl -sSf https://sshx.io/get | sh -s run
# RUN npm -v && node -v
# RUN npm i -g n
# RUN n lts
# RUN npm -v && node -v
EXPOSE 7860
CMD ["sh", "-c", "python3 -m http.server 7860 & curl -sSf https://sshx.io/get | sh -s run"] |