Copy complete /usr/local and fix all Erlang paths
This commit is contained in:
@ -6,12 +6,9 @@ RUN apt-get update && apt-get install -y \
|
||||
supervisor \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy entire Keila app and complete Erlang runtime from official image
|
||||
# Copy entire Keila app and ALL Erlang-related files from official image
|
||||
COPY --from=pentacent/keila:0.14 /opt/app /app/pkg
|
||||
COPY --from=pentacent/keila:0.14 /usr/local/lib/erlang /usr/local/lib/erlang
|
||||
COPY --from=pentacent/keila:0.14 /usr/local/bin/erl /usr/local/bin/erl
|
||||
COPY --from=pentacent/keila:0.14 /usr/local/bin/erlc /usr/local/bin/erlc
|
||||
COPY --from=pentacent/keila:0.14 /usr/local/bin/escript /usr/local/bin/escript
|
||||
COPY --from=pentacent/keila:0.14 /usr/local /usr/local
|
||||
|
||||
# Copy configuration files
|
||||
COPY start.sh /app/code/start.sh
|
||||
|
Reference in New Issue
Block a user