mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
19 lines
512 B
Docker
19 lines
512 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
|
|
EXPOSE 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/import.py /app/import.py
|
|
COPY ./backend/oasst_backend /app/oasst_backend
|
|
COPY ./backend/test_data /app/test_data
|