Spaces:
Runtime error
Runtime error
File size: 592 Bytes
6a55fd9 d3746b8 6a55fd9 d3746b8 6a55fd9 d3746b8 6a55fd9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | FROM oven/bun:latest
WORKDIR /app
# ---- System deps for native modules ----
RUN apt-get update && apt-get install -y \
git \
curl \
bash \
build-essential \
python3 \
pkg-config \
&& rm -rf /var/lib/apt/lists/*
# ---- Install OpenCode ----
RUN bun add -g opencode-ai
# ---- Clone Portal ----
RUN git clone https://github.com/hosenur/portal.git
# ---- Install Portal deps ----
WORKDIR /app/portal
RUN bun install
# ---- Expose HF port ----
EXPOSE 7860
# ---- Startup ----
WORKDIR /app
COPY start.sh /app/start.sh
RUN chmod +x /app/start.sh
CMD ["bash", "/app/start.sh"]
|