Skip to content
Snippets Groups Projects
Commit 52439de9 authored by Aaron Ogle's avatar Aaron Ogle Committed by Gabriel Engel
Browse files

Fix dependency issue in redhat image (#11497)

parent 9c826504
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,10 @@ VOLUME /opt/app-root/src/uploads
WORKDIR /opt/app-root/src/bundle
# Hack needed to force use of bundled library instead of system level outdated library
# https://github.com/lovell/sharp/issues/892
ENV LD_PRELOAD=/opt/app-root/src/bundle/programs/server/npm/node_modules/sharp/vendor/lib/libz.so
ENV DEPLOY_METHOD=docker-redhat \
NODE_ENV=production \
MONGO_URL=mongodb://mongo:27017/rocketchat \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment