mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
043b5eff5a
* Add DEBUG_USD_SEED_DATA_PATH in config to make seed data flexible * reformat * Copy test_data folder in Dockerfile.backend, correct DEBUG_USE_SEED_DATA_PATH in cofig * - make DEBUG_USE_SEED_DATA_PATH to absolute path - correct test_data path in Dockerfile.backend
18 lines
472 B
Docker
18 lines
472 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/oasst_backend /app/oasst_backend
|
|
COPY ./backend/test_data /app/test_data
|