diff --git a/Dockerfile b/Dockerfile index b0bf588..2686e2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ from python +RUN apt-get -y install libpq-dev + COPY requirements.txt requirements.txt RUN pip install -r requirements.txt diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..57cd84c --- /dev/null +++ b/Readme.md @@ -0,0 +1 @@ +# FOODER diff --git a/docker-compose.yml b/docker-compose.yml index e100648..0cbf0c5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,6 @@ services: - fooder env_file: - .env - platform: linux/amd64 api: restart: unless-stopped @@ -24,7 +23,6 @@ services: - fooder env_file: - .env - platform: linux/amd64 volumes: - ./fooder:/opt/fooder/fooder ports: diff --git a/requirements.txt b/requirements.txt index 39704cb..c8c7468 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ pydantic sqlalchemy[postgresql_asyncpg] uvicorn[standard] asyncpg -psycopg2-binary +psycopg2-binary==2.9.3 python-jose[cryptography] passlib[bcrypt] fastapi-users