No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 599B

123456789101112131415161718
  1. FROM alpine:3.7 as builder
  2. RUN mkdir -p /var/cache/apk && ln -s /var/cache/apk /etc/apk/cache && apk add \
  3. --update py3-pip gcc musl-dev python3-dev
  4. RUN pip3 install wheel && pip3 wheel --wheel-dir=/root/wheel isso
  5. FROM alpine:3.7 as production
  6. COPY --from=builder /root/wheel /root/wheel
  7. COPY --from=builder /root/.cache /root/.cache
  8. COPY --from=builder /etc/apk/cache /etc/apk/cache
  9. RUN apk add --update py3-pip && pip3 install --no-index \
  10. --find-links=/root/wheel isso
  11. WORKDIR /isso
  12. EXPOSE 8080
  13. RUN rm -rf /root/.cache /etc/apk/cache/* /root/wheel/
  14. ENTRYPOINT ["isso"]
  15. CMD ["--help"]