deploy: 33432cf36d547cc3aff5ecbcfc3f3f1ba811310c

This commit is contained in:
staheri14 2022-03-25 20:58:40 +00:00
parent eb468c3404
commit 6c5cef8b98

View File

@ -44,7 +44,9 @@ RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3
COPY --from=nim-build /app/build/$MAKE_TARGET /usr/local/bin/
# If rln enabled: fix for 'Error loading shared library vendor/rln/target/debug/librln.so: No such file or directory'
# COPY --from=nim-build /app/vendor/rln/target/debug/librln.so vendor/rln/target/debug/librln.so
# It is vital to append * to the optional files, otherwise, COPY will throw an error
# the librln.so may/may not exist depending on whether the rln compiler flag is part of NIM_PARAMS or not
COPY --from=nim-build /app*/vendor/rln/target/debug/librln.so vendor/rln/target/debug/librln.so
# Copy migration scripts for DB upgrades
COPY --from=nim-build /app/waku/v2/node/storage/migration/migrations_scripts/ /app/waku/v2/node/storage/migration/migrations_scripts/