Spaces:
Paused
Paused
File size: 439 Bytes
9c0f4c2 7030ed3 33e3366 9e1b89e 7030ed3 9c0f4c2 7030ed3 9c0f4c2 7030ed3 266eda3 2e3319a 7030ed3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | FROM node:20-slim
RUN apt-get update && apt-get install -y \
git \
python3 \
python3-pip \
curl \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install --no-cache-dir --break-system-packages huggingface_hub[cli]
RUN npm install -g opencode-ai localtunnel
WORKDIR /workspace
COPY start.sh /start.sh
RUN chmod +x /start.sh
EXPOSE 7860 3000
ENTRYPOINT ["/start.sh"]
CMD ["web", "--port", "7860", "--hostname", "0.0.0.0"]
|