5/5/1404
This commit is contained in:
+7
-7
@@ -2,11 +2,11 @@ FROM node:20-slim
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# فقط package.json و yarn.lock رو کپی کن (برای تشخیص تغییر)
|
## فقط package.json و yarn.lock رو کپی کن (برای تشخیص تغییر)
|
||||||
COPY package.json yarn.lock ./
|
#COPY package.json yarn.lock ./
|
||||||
|
#
|
||||||
# نصب فقط اگر فایلها تغییر کرده باشند (Docker cache کمک میکنه)
|
## نصب فقط اگر فایلها تغییر کرده باشند (Docker cache کمک میکنه)
|
||||||
RUN yarn install --production
|
#RUN yarn install --production
|
||||||
|
|
||||||
# فقط .output رو هر بار جدید میفرستی
|
# فقط .output رو هر بار جدید میفرستی
|
||||||
COPY .output .output
|
COPY .output .output
|
||||||
@@ -15,8 +15,8 @@ COPY .output .output
|
|||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
ENV PORT=5100
|
ENV PORT=5200
|
||||||
EXPOSE 5100
|
EXPOSE 5200
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
CMD ["node", ".output/server/index.mjs"]
|
CMD ["node", ".output/server/index.mjs"]
|
||||||
|
|||||||
+2
-2
@@ -6,11 +6,11 @@ build:
|
|||||||
|
|
||||||
run:
|
run:
|
||||||
command: node .output/server/index.mjs
|
command: node .output/server/index.mjs
|
||||||
port: 5100
|
port: 5200
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
PORT: 5100
|
PORT: 5200
|
||||||
|
|
||||||
# Default ENV values for Nuxt runtimeConfig
|
# Default ENV values for Nuxt runtimeConfig
|
||||||
VITE_APP_TYPE: "client"
|
VITE_APP_TYPE: "client"
|
||||||
|
|||||||
@@ -1,67 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "nuxt-app",
|
|
||||||
"private": true,
|
|
||||||
"version": "0.0.1",
|
|
||||||
"type": "module",
|
|
||||||
"scripts": {
|
|
||||||
"build": "nuxt build",
|
|
||||||
"dev": "nuxt dev",
|
|
||||||
"generate": "nuxt generate",
|
|
||||||
"preview": "nuxt preview",
|
|
||||||
"postinstall": "nuxt prepare"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@ant-design-vue/nuxt": "^1.4.6",
|
|
||||||
"@capacitor/camera": "^7.0.1",
|
|
||||||
"@capacitor/core": "^7.2.0",
|
|
||||||
"@headlessui/vue": "^1.7.23",
|
|
||||||
"@lottiefiles/dotlottie-vue": "^0.6.3",
|
|
||||||
"@nuxt/image": "1.10.0",
|
|
||||||
"@nuxtjs/eslint-module": "^4.1.0",
|
|
||||||
"@nuxtjs/sitemap": "7.3.0",
|
|
||||||
"@pinia/nuxt": "^0.11.0",
|
|
||||||
"@supabase/supabase-js": "^2.49.8",
|
|
||||||
"@types/lodash-es": "^4.17.12",
|
|
||||||
"@vite-pwa/nuxt": "1.0.1",
|
|
||||||
"@vueup/vue-quill": "^1.2.0",
|
|
||||||
"@vueuse/core": "^13.2.0",
|
|
||||||
"@vueuse/gesture": "^2.0.0",
|
|
||||||
"@vueuse/motion": "^3.0.3",
|
|
||||||
"@vueuse/nuxt": "13.2.0",
|
|
||||||
"@vueuse/router": "^13.3.0",
|
|
||||||
"ant-design-vue": "^4.2.6",
|
|
||||||
"axios": "^1.9.0",
|
|
||||||
"date-fns": "^4.1.0",
|
|
||||||
"dayjalali": "^1.0.1",
|
|
||||||
"dayjs": "^1.11.13",
|
|
||||||
"dayjs-nuxt": "2.1.11",
|
|
||||||
"lodash": "^4.17.21",
|
|
||||||
"lodash-es": "^4.17.21",
|
|
||||||
"moment": "^2.30.1",
|
|
||||||
"moment-jalaali": "^0.10.4",
|
|
||||||
"numbro": "^2.5.0",
|
|
||||||
"nuxt": "^3.9.1",
|
|
||||||
"pinia": "^3.0.2",
|
|
||||||
"swiper": "^11.2.8",
|
|
||||||
"unocss": "^66.1.2",
|
|
||||||
"vue": "^3.5.14",
|
|
||||||
"vue-advanced-cropper": "^2.8.9",
|
|
||||||
"vue-content-loader": "^2.0.1",
|
|
||||||
"vue-demi": "^0.14.10",
|
|
||||||
"vue-router": "^4.5.1",
|
|
||||||
"vue3-draggable": "^2.0.9",
|
|
||||||
"vue3-lazyload": "^0.3.8",
|
|
||||||
"vue3-otp-input": "^0.5.30",
|
|
||||||
"xlsx": "^0.18.5"
|
|
||||||
},
|
|
||||||
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
|
|
||||||
"devDependencies": {
|
|
||||||
"@unocss/nuxt": "^66.1.2",
|
|
||||||
"@vant/nuxt": "^1.0.6",
|
|
||||||
"less": "^4.3.0",
|
|
||||||
"sass": "1.69.5",
|
|
||||||
"unplugin-auto-import": "^19.2.0",
|
|
||||||
"vant": "^4.9.19",
|
|
||||||
"vite-plugin-pwa": "^1.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user