From 76ea0d32dd1cdd0a853bcc690c9c8a757788d577 Mon Sep 17 00:00:00 2001 From: Arijit Das Date: Sat, 9 Oct 2021 16:43:16 +0530 Subject: [PATCH] Fix docker image. --- Dockerfile | 4 +++- docker-compose.yml | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) 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