mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 10:46:27 +00:00
15 lines
391 B
Docker
15 lines
391 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 ./static /srv/static
|
|
COPY ./templates /srv/templates
|
|
|
|
COPY ./models /srv/models
|
|
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "4685", "--db_path", "data/database.db"]
|