mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
16 lines
420 B
Docker
16 lines
420 B
Docker
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10
|
|
|
|
COPY ./backend/requirements.txt /app/requirements.txt
|
|
|
|
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
|
|
|
ENV PORT 8080
|
|
|
|
COPY ./oasst-shared /oasst-shared
|
|
RUN pip install -e /oasst-shared
|
|
|
|
COPY ./backend/alembic /app/alembic
|
|
COPY ./backend/alembic.ini /app/alembic.ini
|
|
COPY ./backend/main.py /app/main.py
|
|
COPY ./backend/oasst_backend /app/oasst_backend
|