Remove node service from production setup

This commit is contained in:
Nikita P. Shupeyko 2017-07-31 16:25:21 +03:00
parent be2fc40631
commit 507ee4062e
3 changed files with 1 additions and 18 deletions

View File

@ -1,11 +0,0 @@
FROM node:7.10-slim
RUN mkdir -p /app
COPY ./package.json /app
WORKDIR /app
RUN npm install && npm cache clean
ENV PATH ./node_modules/.bin/:$PATH

View File

@ -53,7 +53,7 @@ services:
node: node:
build: build:
context: . context: .
dockerfile: ./compose/node/Dockerfile dockerfile: ./compose/node/Dockerfile-dev
volumes: volumes:
- .:/app - .:/app
# http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html

View File

@ -77,9 +77,3 @@ services:
- redis - redis
command: celery -A {{cookiecutter.project_slug}}.taskapp beat -l INFO command: celery -A {{cookiecutter.project_slug}}.taskapp beat -l INFO
{% endif %} {% endif %}
node:
extends:
service: node
file: ./dev.yml
ports: []