api / Dockerfile
psyflowz's picture
Update Dockerfile
2c54401 verified
Raw
History Blame Contribute Delete
805 Bytes
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# ========================
# BASE TOOLS
# ========================
RUN apt update && apt install -y \
curl wget git nano ca-certificates \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# ========================
# NODE + NPM
# ========================
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt install -y nodejs
RUN npm install -g npm@latest
# ========================
# GLOBAL TOOLS
# ========================
RUN npm install -g \
typescript \
ts-node \
nodemon \
pm2 \
opencode-ai
# ========================
# SSHX INSTALL
# ========================
RUN curl -sSf https://sshx.io/get | sh
# ========================
# START SSHX (AUTO)
# ========================
CMD ["sshx"]