2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-10-30 15:21:11 +00:00
pyentrypoint/Dockerfile.py3.8-alpine
Christophe Mehay 1770ac87f6 Update to v0.6.0
- Add new `commands` setting to handle multiple commands
- Deprecate `command` and `subcommands`
- Drop support for python 2
- Handle dependancy and build with Poetry
2020-05-10 23:32:31 +02:00

15 lines
245 B
Docker

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