lib/smartcloud/grids/grid-runner/buildpacks/rails/Dockerfile in smartcloud-0.0.193 vs lib/smartcloud/grids/grid-runner/buildpacks/rails/Dockerfile in smartcloud-0.0.194

- old
+ new

@@ -18,21 +18,22 @@ apk add --update ffmpeg && \ apk add --update mupdf && \ apk add --update mupdf-tools && \ rm -rf /var/cache/apk/* +USER "$USER_NAME" +WORKDIR "/app" + # Install gems RUN gem install bundler && \ gem install god # Generating entrypoint file RUN echo -e '#!/bin/sh\n\ gem install --no-document --local smartcloud\n\ -exec "$@"' >> /entrypoint; chmod +x /entrypoint +exec "$@"' >> "/home/$USER_NAME/entrypoint"; chmod +x "/home/$USER_NAME/entrypoint" -USER "$USER_NAME" - # Set entrypoint -ENTRYPOINT ["/entrypoint"] +ENTRYPOINT ["/home/$USER_NAME/entrypoint"] # Command to execute at container start CMD ["buildpacker", "start"]