mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-19 13:58:56 +00:00
chore: update nuxt examples
This commit is contained in:
14
nuxt/server/Dockerfile
Normal file
14
nuxt/server/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM node:24 AS build
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM node:24
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/.output/ ./
|
||||
ENV PORT=3000
|
||||
ENV HOST=0.0.0.0
|
||||
EXPOSE 3000
|
||||
CMD ["node", "/app/server/index.mjs"]
|
||||
Reference in New Issue
Block a user