🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-12 23:09:28 -04:00
parent a59390302c
commit 45cbb13b52
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -12,16 +12,18 @@ ENV TZ="$TIMEZONE" \
ENV="$HOME/.bashrc" \ ENV="$HOME/.bashrc" \
TERM="xterm-256color" \ TERM="xterm-256color" \
HOSTNAME="${HOSTNAME:-casjaysdev-$IMAGE_NAME}" \ HOSTNAME="${HOSTNAME:-casjaysdev-$IMAGE_NAME}" \
PORT="3000" PORT="3000" \
BUN_INSTALL="/usr/local/share/bun"
RUN set -ex; \ RUN set -ex; \
mkdir -p "/usr/local/share/template-files/data/htdocs/www" && \ mkdir -p "/usr/local/share/template-files/data/htdocs/www" && \
apt-get update && apt-get upgrade -yy && apt-get install -yy \ apt-get update && apt-get upgrade -yy && apt-get install -yy \
unzip && \ 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 && \ 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/" && \ 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 ./bin/. /usr/local/bin/
COPY ./data/. /usr/local/share/template-files/data/ COPY ./data/. /usr/local/share/template-files/data/