From 693b9928fc7f2021108994edc022aab61a951500 Mon Sep 17 00:00:00 2001 From: 37b7 Date: Tue, 20 May 2025 09:39:13 +0200 Subject: [PATCH] nop --- docker/Dockerfile | 6 +----- nuxt.config.ts | 6 ++---- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 55e4a60..462ead8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -11,11 +11,7 @@ COPY --from=builder /app/.output ./.output COPY --from=builder /app/package*.json ./ COPY --from=builder /app/public ./public COPY --from=builder /app/.nuxt ./.nuxt -ENV NODE_ENV=production -ENV BASE_PATH=/ -ENV CDN_URL=https://codefirst.iut.uca.fr -ENV HOST=0.0.0.0 -ENV PORT=3000 RUN npm install --production + EXPOSE 3000 CMD ["node", ".output/server/index.mjs"] diff --git a/nuxt.config.ts b/nuxt.config.ts index 34369d8..bafd2be 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -29,9 +29,7 @@ export default defineNuxtConfig({ } ], }, - baseURL: process.env.NODE_ENV === 'production' ? process.env.BASE_PATH : '/', - buildAssetsDir: process.env.NODE_ENV === 'production' ? process.env.BASE_PATH + '/_nuxt/' : '/_nuxt/', - cdnURL: process.env.NODE_ENV === 'production' ? process.env.CDN_URL : '', + buildAssetsDir: '/containers/matheothierry-portfolio_nuxt/_nuxt/', }, modules: ['@nuxt/image'], @@ -62,4 +60,4 @@ export default defineNuxtConfig({ maxAge: 60 * 60 * 24 * 30 }, }, -}) \ No newline at end of file +})