Skip to content

Commit

Permalink
Dockerfile update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jul 7, 2016
1 parent 61850f8 commit 5257384
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ RUN npm install

# install arachnado
COPY . /app
RUN pip install --editable /app

# npm install is executed again because node_modules can be overwritten
# if .dockerignore is not active (may happen with docker-compose or DockerHub)
RUN npm install
RUN npm run build
RUN pip3 install .

# use e.g. -v /path/to/my/arachnado/config.conf:/etc/arachnado.conf
# docker run option to override arachnado parameters
Expand All @@ -49,7 +49,7 @@ VOLUME /etc/arachnado.conf
# this folder is added to PYTHONPATH, so modules from there are available
# for spider_packages Arachnado option
VOLUME /python-packages
ENV PYTHONPATH $PYTHONPATH:/python-packages
ENV PYTHONPATH $PYTHONPATH:/python-packages:/app

EXPOSE 8888
ENTRYPOINT ["arachnado"]
CMD ["arachnado"]

0 comments on commit 5257384

Please sign in to comment.