From 5efa641d55e735b9dcd8a3794874c32dcb87bd38 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 8 Sep 2025 04:25:33 -0400 Subject: [PATCH] fix: ensure that the nixpacks bin is installed in /usr/bin/nixpacks in Docker image --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ea84cf5d8..b12fe59ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,8 @@ RUN mkdir -p /etc/apt/keyrings \ && apt-get -y --no-install-recommends install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin pack-cli \ && curl -o /tmp/nixpacks.bash -sSL https://nixpacks.com/install.sh \ && chmod +x /tmp/nixpacks.bash \ - && /tmp/nixpacks.bash \ + && NIXPACKS_BIN_DIR=/usr/bin /tmp/nixpacks.bash \ + && test -x /usr/bin/nixpacks \ && rm -rf /tmp/nixpacks.bash \ && echo "dokku dokku/hostname string $DOKKU_HOSTNAME" | debconf-set-selections \ && echo "dokku dokku/skip_key_file boolean $DOKKU_SKIP_KEY_FILE" | debconf-set-selections \