remove unused backend dockerfiles, only keeping docker-compose.yaml for now

This commit is contained in:
Andreas Köpf
2022-12-16 23:35:37 +01:00
parent 07bbd0d626
commit cbda0d4f9b
3 changed files with 0 additions and 23 deletions
-14
View File
@@ -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"]
-3
View File
@@ -1,3 +0,0 @@
FROM postgres:15
COPY ./scripts/create-db.sh /docker-entrypoint-initdb.d/
-6
View File
@@ -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