coolqlcool icon indicating copy to clipboard operation
coolqlcool copied to clipboard

[Feature request] Docker

Open thebetterjort opened this issue 5 years ago • 2 comments

I've drank the coolaid and I don't install any devs on my machine anymore. This is an archiac practice. Dockerfiles would be nice, for us who are obnoxiously pure.

thebetterjort avatar Mar 05 '19 15:03 thebetterjort

FROM node:8 ENV NODE_ENV development WORKDIR /home/node/tmp COPY package.json /home/node/tmp/package.json RUN npm config set strict-ssl false && NODE_TLS_REJECT_UNAUTHORIZED=0 npm install

thebetterjort avatar Mar 05 '19 15:03 thebetterjort

version: "2" services: dev: build: ./ working_dir: /home/node/app environment: - NODE_ENV=development volumes: - ./:/home/node/app ports: - "3000:3000" command: bash -c "cp -r ../tmp/node_modules . && npm run dev"

thebetterjort avatar Mar 05 '19 15:03 thebetterjort