registry_tracker/Dockerfile

17 lines
222 B
Docker

FROM python:alpine
COPY . /workdir/
WORKDIR /workdir/
RUN pip install poetry && \
poetry build -f wheel
FROM python:alpine
COPY --from=0 /workdir/dist/*.whl /
RUN pip install /*.whl && \
rm /*.whl
USER 1001