Bulk commit: Stand ende 22.01.
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM node:24.11.1-trixie-slim AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN npm i --legacy-peer-deps
|
||||
RUN npm run build
|
||||
|
||||
FROM node:24.11.1-trixie AS runner
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /app/.output .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "node", "./server/index.mjs" ]
|
||||
Reference in New Issue
Block a user