quickstarts/tutorials/distributed-calculator/node/Dockerfile

6 lines
104 B
Docker

FROM node:20-bullseye
WORKDIR /usr/src/app
COPY . .
RUN npm install
EXPOSE 4000
CMD [ "node", "app.js" ]