FROM node:14 EXPOSE 32340 COPY ./build /var/www/build COPY ./src /var/www/src COPY ./node_modules /var/www/node_modules COPY ./package.json /var/www/package.json COPY ./latus.yml /var/www/latus.yml COPY ./postcss.config.js /var/www/postcss.config.js WORKDIR /var/www RUN npm rebuild RUN apt update && apt install -y rlwrap socat ENTRYPOINT ["node", "--experimental-repl-await", "build/index.js"]