mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 21:03:07 +00:00
17 lines
495 B
Docker
17 lines
495 B
Docker
FROM python:3.10
|
|
|
|
WORKDIR /srv
|
|
COPY ./requirements.txt .
|
|
|
|
RUN python3 -m venv venv && . venv/bin/activate
|
|
RUN python3 -m pip install --no-cache-dir -r requirements.txt --upgrade pip
|
|
|
|
COPY ./app.py /srv/app.py
|
|
COPY ./gpt4all_api /srv/gpt4all_api
|
|
COPY ./backends /srv/backends
|
|
COPY ./static /srv/static
|
|
COPY ./templates /srv/templates
|
|
|
|
# COPY ./models /srv/models # Mounting model is more efficient
|
|
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "9600", "--db_path", "data/database.db"]
|