FROM node:18 # Use bash as the default shell SHELL ["/bin/bash", "-c"] ENV NODE_ENV=production WORKDIR /var/www/html COPY .. /var/www/html RUN yarn install && yarn build CMD yarn start