Merge pull request 'fix: Fix frontend build bc apparently they changed the node version' (!245) from fix/node-version into main
Reviewed-on: #245
This commit is contained in:
commit
bb1621ba49
2 changed files with 7 additions and 2 deletions
|
@ -31,7 +31,7 @@ jobs:
|
||||||
TEA_VERSION=$(echo "${{ steps.tea_version.outputs.version }}")
|
TEA_VERSION=$(echo "${{ steps.tea_version.outputs.version }}")
|
||||||
wget "https://gitea.com/gitea/tea/releases/download/v${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64" -O tea
|
wget "https://gitea.com/gitea/tea/releases/download/v${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64" -O tea
|
||||||
chmod +x tea
|
chmod +x tea
|
||||||
sudo mv tea /usr/local/bin/tea
|
mv tea /usr/local/bin/tea
|
||||||
|
|
||||||
- name: Verify Tea Installation
|
- name: Verify Tea Installation
|
||||||
run: tea --version
|
run: tea --version
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
FROM oven/bun:debian AS build
|
FROM oven/bun:debian AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update -y && apt-get install nodejs -y
|
RUN apt-get update -y && \
|
||||||
|
apt-get install -y --no-install-recommends curl ca-certificates gnupg && \
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
||||||
|
apt-get install -y --no-install-recommends nodejs && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
|
Reference in a new issue