Enable opentelemetry when compiling for production (fixes #3294)
This commit is contained in:
parent
c5886404ef
commit
94fa2482d9
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ RUN --mount=type=cache,target=/app/target \
|
|||
RUN \
|
||||
if [ "$RUST_RELEASE_MODE" = "release" ] ; then \
|
||||
echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs" \
|
||||
&& cargo build --target ${CARGO_BUILD_TARGET} --release \
|
||||
&& cargo build --target ${CARGO_BUILD_TARGET} --release --features console \
|
||||
&& cp ./target/$CARGO_BUILD_TARGET/$RUST_RELEASE_MODE/lemmy_server /app/lemmy_server; \
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue