2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-10-30 15:21:11 +00:00
pyentrypoint/Dockerfile.py3.6-alpine
2020-05-11 07:23:21 +02:00

16 lines
266 B
Docker

FROM python:3.6-alpine
ENV POETRY_VIRTUALENVS_CREATE=false
ADD . /tmp/
RUN cd /tmp && \
apk add gcc && \
pip install --upgrade pip poetry && \
poetry install --no-dev && \
rm -rf *
ONBUILD ADD entrypoint-config.yml .
ENTRYPOINT ["pyentrypoint"]