diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index c19e1f8095..6961247dd0 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -63,12 +63,13 @@ WORKDIR /app VOLUME /app ################### POSTGRESQL -ENV PGDATA /app/tmp/postgresql/data +ENV PGDATA="/app/tmp/postgresql/data" # fixed bundler version because latest version 2.3.21 produces errors when resolving dependencies # or an endless loop when the gem directory needs to be rebuilt RUN gem install bundler -v 2.3.20 && bundle config set --local path 'vendor/bundle' RUN echo -e '#!/bin/bash\n\n\ + set -e \n\ bundle install \n\ yarn \n\ mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA"\n\