diff --git a/services/document-manager/postgres/Dockerfile.dev b/services/document-manager/postgres/Dockerfile.dev deleted file mode 100644 index cf7207b04d..0000000000 --- a/services/document-manager/postgres/Dockerfile.dev +++ /dev/null @@ -1,7 +0,0 @@ -FROM postgres:9.6 - -# Copy only migration scripts for creation -RUN echo "CREATE USER postgres" >> /docker-entrypoint-initdb.d/01-create-user.sql - -# Set the working directory to container entrypoint -WORKDIR /docker-entrypoint-initdb.d diff --git a/services/nris-api/docker-compose.yaml b/services/nris-api/docker-compose.yaml index b1028c70d7..797daa6165 100644 --- a/services/nris-api/docker-compose.yaml +++ b/services/nris-api/docker-compose.yaml @@ -23,8 +23,7 @@ services: restart: always container_name: nris_postgres build: - context: postgres - dockerfile: Dockerfile.dev + context: ../postgres environment: - POSTGRES_USER=nris - POSTGRES_PASSWORD=VsPJAuMJHu3IVMEv diff --git a/services/nris-api/postgres/Dockerfile.dev b/services/nris-api/postgres/Dockerfile.dev deleted file mode 100644 index cf7207b04d..0000000000 --- a/services/nris-api/postgres/Dockerfile.dev +++ /dev/null @@ -1,7 +0,0 @@ -FROM postgres:9.6 - -# Copy only migration scripts for creation -RUN echo "CREATE USER postgres" >> /docker-entrypoint-initdb.d/01-create-user.sql - -# Set the working directory to container entrypoint -WORKDIR /docker-entrypoint-initdb.d