Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Dockerfile #6

Open
vpereverzev opened this issue Jun 29, 2023 · 2 comments
Open

Request: Dockerfile #6

vpereverzev opened this issue Jun 29, 2023 · 2 comments

Comments

@vpereverzev
Copy link

vpereverzev commented Jun 29, 2023

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

@fastrick
Copy link

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

@ceramicwhite
Copy link

# 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" ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants