init: add code

This commit is contained in:
Xory 2025-06-07 22:30:32 +03:00
commit 2e8de85ee7
33 changed files with 3940 additions and 0 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM node:alpine
COPY . /src
WORKDIR /src
EXPOSE 4173
RUN npm i -g pnpm # fuck npm
RUN pnpm i
RUN pnpm run build
RUN adduser website --disabled-password --gecos "" --no-create-home
RUN chown -R website:website /src
USER website
CMD ["pnpm", "run", "preview", "--host"]