We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0635508 commit 3ea3e45Copy full SHA for 3ea3e45
.dockerignore
@@ -0,0 +1,4 @@
1
+node_modules
2
+.output
3
+.nuxt
4
+README.md
Dockerfile
@@ -0,0 +1,25 @@
+FROM node:20-alpine as build
+
+RUN corepack enable
5
+RUN corepack prepare pnpm@latest --activate
6
7
+WORKDIR /app
8
9
+COPY package.json /app
10
11
+RUN pnpm install
12
13
+COPY . /app
14
15
+RUN pnpm run build
16
17
+FROM gcr.io/distroless/nodejs20 as prod
18
19
20
21
+COPY --from=build /app/.output /app/.output
22
23
+EXPOSE 3000/tcp
24
25
+CMD ["/app/.output/server/index.mjs"]
0 commit comments