WIP: build attempted

This commit is contained in:
2024-02-22 23:42:04 +11:00
parent a1cba242e9
commit 5c8a3f56dd
5 changed files with 56 additions and 37 deletions

8
Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM node:lts-alpine as builder
USER 1000:1000
ADD --chown=1000:1000 . /home/node/nextts
WORKDIR /home/node/nextts
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="/home/node/.shrc" SHELL="$(which sh)" sh -
ENV PATH=/home/node/.local/share/pnpm:$PATH
RUN pnpm install && pnpm run build