Raw-VPS / Dockerfile
xTHExBEASTx's picture
Create Dockerfile
c957406 verified
raw
history blame contribute delete
449 Bytes
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install only the essentials for a VPS (ttyd, git, python, and tmux!)
RUN apt-get update && apt-get install -y \
curl \
git \
wget \
python3 \
python3-pip \
tmux \
ttyd \
&& rm -rf /var/lib/apt/lists/*
# Set up the user
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user
WORKDIR $HOME/app
# Start the raw terminal
CMD ["ttyd", "-p", "7860", "/bin/bash"]