FROM arizephoenix/phoenix:latest # Install just the shell and core utilities we need COPY --from=busybox:1.36 /bin/sh /bin/sh COPY --from=busybox:1.36 /bin/mkdir /bin/mkdir COPY --from=busybox:1.36 /bin/chmod /bin/chmod # Set environment variables ENV HOME=/home/user \ PATH=/home/user/.local/bin:$PATH \ PHOENIX_WORKING_DIR=/data/ # Create data directory with permissions RUN mkdir -p /data && chmod -R 777 /data # Specify the user ID without creating it USER 1000 # Set the working directory WORKDIR $HOME/app