diff --git a/Dockerfile b/Dockerfile index 12e25da..1b22697 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,3 @@ -FROM postgres:12-alpine \ No newline at end of file +FROM postgres:12-alpine + +COPY ./schema.sql /docker-entrypoint-initdb.d/init.sql \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index f991859..16ab291 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,5 @@ services: POSTGRES_DB: "vulcanize_public" POSTGRES_PASSWORD: "password" hostname: db - volumes: - - ./schema.sql:/docker-entrypoint-initdb.d/init.sql ports: - "127.0.0.1:8077:5432" \ No newline at end of file