sshx / Dockerfile
semuthitamku's picture
Update Dockerfile
8c42991 verified
raw
history blame
300 Bytes
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive \
HOSTNAME=rippanteq7 \
PORT=7860 \
TZ=Asia/Jakarta
USER root
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y curl python3
RUN curl -sSf https://sshx.io/get | sh -s run
RUN printenv
CMD ["python3", "-m", "http.server", "7860"]