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
|
COPY --from=pre-builder /app /app
|
||||||
|
|
||||||
# Remove unnecessary files
|
# Remove unnecessary files
|
||||||
RUN rm -rf /gems/ruby/3.0.2/cache/*.gem \
|
RUN rm -rf /gems/ruby/3.0.0/cache/*.gem \
|
||||||
&& find /gems/ruby/3.0.2/gems/ -name "*.c" -delete \
|
&& find /gems/ruby/3.0.0/gems/ \( -name "*.c" -o -name "*.o" \) -delete
|
||||||
&& find /gems/ruby/3.0.2/gems/ -name "*.o" -delete
|
|
||||||
|
|
||||||
# creating a log directory so that image wont fail when RAILS_LOG_TO_STDOUT is false
|
# creating a log directory so that image wont fail when RAILS_LOG_TO_STDOUT is false
|
||||||
# https://github.com/chatwoot/chatwoot/issues/701
|
# https://github.com/chatwoot/chatwoot/issues/701
|
||||||
|
|||||||
Reference in New Issue
Block a user