2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-10-30 15:21:11 +00:00
pyentrypoint/Dockerfile.py3.7-alpine

15 lines
269 B
Docker

FROM python:3.7-alpine
ENV POETRY_VIRTUALENVS_CREATE=false
ADD . /usr/local/src/
RUN cd /usr/local/src/ && \
apk add gcc && \
pip install --upgrade pip poetry && \
poetry install --no-dev
ONBUILD ADD entrypoint-config.yml .
ENTRYPOINT ["pyentrypoint"]