feature/search-prototype #1
@ -12,9 +12,14 @@ RUN bun --bun run build
|
|||||||
|
|
||||||
# Launch
|
# Launch
|
||||||
FROM oven/bun:1 AS production
|
FROM oven/bun:1 AS production
|
||||||
|
RUN groupadd --gid 1001 nuxt-app \
|
||||||
|
&& useradd --uid 1001 --gid nuxt-app \
|
||||||
|
--shell /bin/bash --create-home nuxt-app
|
||||||
|
|
||||||
|
USER nuxt-app:nuxt-app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY --from=build /app/.output /app
|
COPY --from=build /app/.output /app
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 3000/tcp
|
||||||
ENTRYPOINT [ "bun", "--bun", "run", "/app/server/index.mjs" ]
|
ENTRYPOINT [ "bun", "--bun", "run", "/app/server/index.mjs" ]
|
||||||
|
@ -5,6 +5,9 @@ export default defineNuxtConfig({
|
|||||||
compatibilityDate: '2025-05-15',
|
compatibilityDate: '2025-05-15',
|
||||||
devtools: { enabled: true },
|
devtools: { enabled: true },
|
||||||
modules: ['@nuxt/eslint', '@nuxt/image', 'shadcn-nuxt', '@nuxtjs/color-mode', '@nuxt/icon'],
|
modules: ['@nuxt/eslint', '@nuxt/image', 'shadcn-nuxt', '@nuxtjs/color-mode', '@nuxt/icon'],
|
||||||
|
nitro: {
|
||||||
|
preset: 'bun',
|
||||||
|
},
|
||||||
colorMode: {
|
colorMode: {
|
||||||
classSuffix: ''
|
classSuffix: ''
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user