cloaked_server / Dockerfile
CaptainCluck205's picture
Update Dockerfile
f1c3f41 verified
Raw History Blame Contribute Delete
493 Bytes
FROM eclipse-temurin:21-jre-jammy
RUN apt-get update && apt-get install -y python3 python3-pip wget curl ttyd screen && \
rm -rf /var/lib/apt/lists/*
# Fix for potential Windows line-ending issues
RUN pip3 install huggingface_hub
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user
WORKDIR $HOME/app
# Create a blank start.sh directly in the Dockerfile to avoid copy errors
RUN echo '#!/bin/bash\nttyd -p 7860 bash' > start.sh && chmod +x start.sh
EXPOSE 7860
CMD ["./start.sh"]