aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: a2f6ed8f38dc0f8d165d4ececc5cb7e08f0b1281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3-alpine as poetry

RUN apk add poetry
COPY poetry.lock .
COPY pyproject.toml .
RUN poetry export -f requirements.txt --output requirements.txt



FROM python:3-alpine

RUN apk add --no-cache ffmpeg

WORKDIR /opt

COPY --from=poetry requirements.txt .
RUN pip install -r requirements.txt

ADD importer importer
ADD main.py .


ENTRYPOINT python main.py