fix: Broken Docker Builds (#2755)
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com>
This commit is contained in:
parent
f477c5281f
commit
f934a5eb04
2 changed files with 3 additions and 4 deletions
2
.nvmrc
2
.nvmrc
|
@ -1 +1 @@
|
||||||
16.1.0
|
14.17.4
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue