diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,10 +1,18 @@ +FROM registry.gitlab.com/gabrielgio/alpine-poetry:latest as 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 requirements.txt . +COPY --from=poetry requirements.txt . RUN pip install -r requirements.txt ADD importer importer |