New / dockerfile
tertrxcuvuvjvj's picture
Create dockerfile
6ba1f30 verified
Raw History Blame Contribute Delete
361 Bytes
FROM ubuntu:22.04
# Basic tools aur web terminal (ttyd) install karna
RUN apt-get update && apt-get install -y \
ttyd \
curl \
wget \
unzip \
openjdk-17-jdk \
git \
&& rm -rf /var/lib/apt/lists/*
# Hugging Face default port 7860 ko expose karna
EXPOSE 7860
# Terminal ko web par run karna
CMD ["ttyd", "-W", "-p", "7860", "bash"]