Skip to content

Commit

Permalink
enable profiling in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
mwylde committed Aug 13, 2024
1 parent f2b607b commit d131ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry,id=${TARGETPLATFORM}-${P
sudo -u postgres psql -c "CREATE USER arroyo WITH PASSWORD 'arroyo' SUPERUSER;" && \
sudo -u postgres createdb arroyo && \
refinery migrate -c refinery.toml -p crates/arroyo-api/migrations && \
CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_PROFILE_RELEASE_DEBUG=false cargo build --profile ${PROFILE} --bin arroyo && \
CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_PROFILE_RELEASE_DEBUG=false cargo build --profile ${PROFILE} --features profiling --bin arroyo && \
mv target/*/arroyo /arroyo


Expand Down Expand Up @@ -75,4 +75,4 @@ COPY --from=builder /arroyo ./

EXPOSE 5115
ENTRYPOINT [ "/app/arroyo" ]
CMD ["cluster"]
CMD ["cluster"]

0 comments on commit d131ebd

Please sign in to comment.