reddichat/app/Dockerfile

13 lines
396 B
Docker
Raw Permalink Normal View History

2020-12-15 02:22:11 -06:00
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"]