11 lines
168 B
Text
11 lines
168 B
Text
|
FROM node:21-alpine AS build
|
||
|
WORKDIR /srv
|
||
|
ADD package.json .
|
||
|
RUN npm install
|
||
|
ADD . .
|
||
|
|
||
|
FROM node:21-alpine
|
||
|
COPY --from=build /srv .
|
||
|
EXPOSE 3000
|
||
|
CMD ["node", "index.js"]
|