From 45cbb13b52fab95da2da37a1312c1e7c2ef48942 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 12 Oct 2022 23:09:28 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a5a412..b7ef51a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,16 +12,18 @@ ENV TZ="$TIMEZONE" \ ENV="$HOME/.bashrc" \ TERM="xterm-256color" \ HOSTNAME="${HOSTNAME:-casjaysdev-$IMAGE_NAME}" \ - PORT="3000" + PORT="3000" \ + BUN_INSTALL="/usr/local/share/bun" RUN set -ex; \ mkdir -p "/usr/local/share/template-files/data/htdocs/www" && \ apt-get update && apt-get upgrade -yy && apt-get install -yy \ unzip && \ - curl -fsSL https://bun.sh/install | bash && \ + curl -q -fsSL https://bun.sh/install | bash && \ ln -sf /usr/local/share/bun/bun /usr/local/bin && \ git clone "https://github.com/casjay-templates/bunjs" "/usr/local/share/template-files/data/htdocs/www/" && \ - cd "/usr/local/share/template-files/data/htdocs/www" && /usr/local/bin/bun install + cd "/usr/local/share/template-files/data/htdocs/www" && \ + /usr/local/bin/bun install COPY ./bin/. /usr/local/bin/ COPY ./data/. /usr/local/share/template-files/data/