Spaces:
Paused
Paused
File size: 613 Bytes
fd34a28 13894da fd34a28 fd41363 fd34a28 fd41363 fd34a28 13894da e066683 13894da aead356 fd34a28 13894da fd34a28 13894da 34acc9b 0d70b6c f123c7b fd34a28 | 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 35 36 37 38 39 40 41 42 43 | FROM ubuntu:latest
WORKDIR /app
USER root
ENV NO_COLOR=1
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -yqq \
curl \
unzip \
tar \
gzip \
bzip2 \
xz-utils \
ripgrep \
git \
wget \
build-essential \
iputils-ping \
net-tools \
procps \
less \
&& \
rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://deno.land/install.sh | sh -s -- -y
ENV PATH="/root/.deno/bin:${PATH}"
COPY . .
EXPOSE 7860
RUN chmod -R 777 /app
RUN deno install --entrypoint main.ts
RUN deno cache main.ts
CMD ["deno", "run", "-A", "main.ts"]
|