mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-19 11:50:35 +08:00
remove unused backend dockerfiles, only keeping docker-compose.yaml for now
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
FROM python:3.9
|
|
||||||
|
|
||||||
WORKDIR /code
|
|
||||||
|
|
||||||
COPY ./requirements.txt /code/requirements.txt
|
|
||||||
|
|
||||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
||||||
|
|
||||||
COPY ./app /code/app
|
|
||||||
|
|
||||||
COPY ./app /app
|
|
||||||
ENV PYTHONPATH=/app
|
|
||||||
|
|
||||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
FROM postgres:15
|
|
||||||
|
|
||||||
COPY ./scripts/create-db.sh /docker-entrypoint-initdb.d/
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
|
||||||
CREATE DATABASE ocgpt_backend;
|
|
||||||
EOSQL
|
|
||||||
Reference in New Issue
Block a user