mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 10:12:34 +00:00
fix: Broken Docker Builds (#2755)
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com>
This commit is contained in:
@@ -83,9 +83,8 @@ COPY --from=pre-builder /gems/ /gems/
|
||||
COPY --from=pre-builder /app /app
|
||||
|
||||
# Remove unnecessary files
|
||||
RUN rm -rf /gems/ruby/3.0.2/cache/*.gem \
|
||||
&& find /gems/ruby/3.0.2/gems/ -name "*.c" -delete \
|
||||
&& find /gems/ruby/3.0.2/gems/ -name "*.o" -delete
|
||||
RUN rm -rf /gems/ruby/3.0.0/cache/*.gem \
|
||||
&& find /gems/ruby/3.0.0/gems/ \( -name "*.c" -o -name "*.o" \) -delete
|
||||
|
||||
# creating a log directory so that image wont fail when RAILS_LOG_TO_STDOUT is false
|
||||
# https://github.com/chatwoot/chatwoot/issues/701
|
||||
|
||||
Reference in New Issue
Block a user