-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (15 loc) · 615 Bytes
/
Dockerfile
File metadata and controls
25 lines (15 loc) · 615 Bytes
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
FROM debian AS deno-dl
RUN apt-get update && apt-get install -y curl unzip \
&& curl -fsSL https://deno.land/install.sh | sh
FROM python:3.12-slim
WORKDIR /app
COPY --from=deno-dl /root/.deno/bin/deno /usr/local/bin/deno
RUN apt-get update && \
apt-get install --no-install-recommends -y ffmpeg && \
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -U poetry
COPY poetry.lock pyproject.toml ./
RUN poetry config virtualenvs.create false \
&& poetry install --no-root --no-interaction --no-ansi --compile --without dev -E speed
COPY . ./
CMD ["/bin/sh", "run.sh"]