quickstarts/tutorials/distributed-calculator/react-calculator/Dockerfile

13 lines
184 B
Docker

FROM node:20-bullseye
WORKDIR /usr/src/app
COPY . .
RUN npm install
# Build the client
RUN cd client && npm i && npm run build
EXPOSE 8080
EXPOSE 3000
CMD [ "npm", "run", "start" ]