mpt-30B-inference icon indicating copy to clipboard operation
mpt-30B-inference copied to clipboard

Request: Dockerfile

Open vpereverzev opened this issue 1 year ago • 2 comments

@abacaj Would be really helpful to have Dockerfile you've been using in your demo

vpereverzev avatar Jun 29 '23 17:06 vpereverzev

I created a Dockerfile, look in the requests. If you have any questions, just ask :)

fastrick avatar Jun 30 '23 19:06 fastrick

# syntax=docker/dockerfile:1.5-labs

ARG GIT_TAG=${GIT_TAG:-main}

FROM python:3.10-slim AS app

ARG GIT_TAG

ENV PIP_NO_CACHE_DIR=yes \
    PYTHONUNBUFFERED=1 \
    PYTHONDONTWRITEBYTECODE=1 \
    HOME=/app \
    PATH="${PATH}:/app/.local/bin"

USER 1000

WORKDIR /app

ADD https://github.com/abacaj/mpt-30B-inference.git#${GIT_TAG} .

RUN pip install -r requirements.txt

CMD [ "python", "inference.py" ]

ceramicwhite avatar Jul 01 '23 06:07 ceramicwhite