mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 13:34:53 +03:00
Remove node service from production setup
This commit is contained in:
parent
be2fc40631
commit
507ee4062e
|
@ -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
|
|
@ -53,7 +53,7 @@ services:
|
|||
node:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./compose/node/Dockerfile
|
||||
dockerfile: ./compose/node/Dockerfile-dev
|
||||
volumes:
|
||||
- .:/app
|
||||
# http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
|
||||
|
|
|
@ -77,9 +77,3 @@ services:
|
|||
- redis
|
||||
command: celery -A {{cookiecutter.project_slug}}.taskapp beat -l INFO
|
||||
{% endif %}
|
||||
|
||||
node:
|
||||
extends:
|
||||
service: node
|
||||
file: ./dev.yml
|
||||
ports: []
|
||||
|
|
Loading…
Reference in New Issue
Block a user