mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
.
This commit is contained in:
7
dashboard/Dockerfile
Normal file
7
dashboard/Dockerfile
Normal 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"]
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user