registry_tracker/Dockerfile

18 lines
222 B
Text
Raw Permalink Normal View History

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