butterrobot/docker/Dockerfile
Felipe Martin Garcia 236e372e00
release 0.0.2a2 (#1)
* Build master and stable branches

* Updated README.md

* Added github action to publish package

* Updated python to 3.8.2-r1 for docker images

* poetry update

* 0.0.2a2

* Hotfix: Build latest docker image from Dockerfile.dev
2020-07-21 17:17:01 +02:00

14 lines
397 B
Docker

FROM alpine:3.11
ENV PYTHON_VERSION=3.8.2-r1
ENV APP_PORT 8080
ENV BUTTERROBOT_VERSION 0.0.2a2
ENV EXTRA_DEPENDENCIES ""
COPY bin/start-server.sh /usr/local/bin/start-server
RUN apk --update add curl python3-dev==${PYTHON_VERSION} gcc musl-dev libffi-dev openssl-dev && \
pip3 install butterrobot==${BUTTERROBOT_VERSION} ${EXTRA_DEPENDENCIES}
USER 1000
CMD ["/usr/local/bin/start-server"]