sshx / Dockerfile
semuthitamku's picture
Update Dockerfile
f91a5e2 verified
raw
history blame contribute delete
426 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 npm -v && node -v
RUN npm i -g n
RUN n lts
RUN npm -v && node -v
RUN pwd
EXPOSE 7860
CMD ["sh", "-c", "npx http-server && curl -sSf https://sshx.io/get | sh -s run"]