repo2env-toolz / Dockerfile
tema7707's picture
Upload folder using huggingface_hub
5579f09 verified
Raw History Blame Contribute Delete
331 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends git \
&& rm -rf /var/lib/apt/lists/*
COPY . /app
RUN pip install --no-cache-dir -e .
RUN pip install -e .
ENV REPO2ENV_DEFAULT_REPO=/app/examples/toolz
EXPOSE 8000
CMD ["repo2env-openenv-server", "--port", "8000"]