Skip to content

Commit

Permalink
Don't strip debugging info
Browse files Browse the repository at this point in the history
  • Loading branch information
xendk committed Jun 15, 2024
1 parent 71b643c commit 098c014
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ COPY src/ src/
COPY config/ config/
COPY db/ db/
COPY public/ public/
# Build a static binary.
RUN shards build --release --production --static --no-debug combine
# Build a static binary. We're not removing debugging information as
# raven.cr uses it to create a backtrace.
RUN shards build --release --production --static combine
RUN rm -rf lib db/*.db
RUN mkdir storage && chown 1000:1000 storage

Expand Down

0 comments on commit 098c014

Please sign in to comment.