10 lines
168 B
Docker
10 lines
168 B
Docker
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"]
|