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:
11
nuxt/static/Dockerfile
Normal file
11
nuxt/static/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM node:24 AS build
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run generate
|
||||
|
||||
FROM nginx
|
||||
COPY --from=build /app/.output/public /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user