SYSTEMUS / Dockerfile
Rex1246's picture
Create Dockerfile
d25b1ce verified
Raw
History Blame Contribute Delete
592 Bytes
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV HOSTNAME=Lightingplays
# ---- Install base packages ----
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
wget \
git \
sudo \
htop \
neovim \
lsof \
&& rm -rf /var/lib/apt/lists/*
# ---- Install code-server ----
RUN curl -fsSL https://code-server.dev/install.sh | sh
# ---- Create workspace ----
WORKDIR /workspace
# ---- Expose port for HuggingFace ----
EXPOSE 7860
# ---- Start code-server ----
CMD ["code-server","--bind-addr","0.0.0.0:7860","--auth","none","/workspace"]