mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-01-17 11:40:39 +03:00
Add test database configuration and schema creation for testing
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
# pull official base image
|
||||
FROM postgres:17.6-alpine
|
||||
|
||||
# run create.sql on init
|
||||
ADD create.sql /docker-entrypoint-initdb.d
|
||||
|
||||
WORKDIR /home/gx/code
|
||||
|
||||
COPY shakespeare_chapter.sql /home/gx/code/shakespeare_chapter.sql
|
||||
|
||||
Reference in New Issue
Block a user