sshx / Dockerfile
aripbae's picture
Update Dockerfile
a7b5b0e verified
raw
history blame contribute delete
485 Bytes
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"]