This commit is contained in:
ngn
2023-11-12 17:43:23 +03:00
parent 8c1552d639
commit 498a54cd20
68 changed files with 1983 additions and 301 deletions

10
app/Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM node:20-alpine3.17 as build
RUN apk update && apk upgrade && adduser -D svelte
USER svelte
WORKDIR /app
COPY --chown=svelteuser:svelte . /app
RUN npm install && npm run build
CMD ["npm", "run", "preview"]