This commit is contained in:
Emily
2024-06-25 15:27:40 +02:00
parent f369880ba7
commit 62f555f86f
7 changed files with 35 additions and 10 deletions

7
dashboard/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM node:21-alpine
WORKDIR /home/app
COPY package.json pnpm-lock.yaml ./
RUN npm install -g pnpm && pnpm install --prod --frozen-lockfile
COPY ./.output /home/app/dist
EXPOSE ${PORT}
CMD ["node", "dist/server/index.mjs"]

View File

@@ -8,7 +8,8 @@
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"test": "vitest"
"test": "vitest",
"docker-build": "pnpm run build && docker build -t litlyx-dashboard ."
},
"dependencies": {
"@nuxtjs/tailwindcss": "^6.12.0",