Spaces:
Running
Running
File size: 426 Bytes
7639bca 3fd39b1 9601cc6 3fd39b1 7639bca 8c42991 7639bca 9601cc6 7639bca 9601cc6 ebcffe7 2b2fef5 f91a5e2 |
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 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"] |