Skip to content

Commit

Permalink
Fix Docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
lscheinkman committed Oct 24, 2019
1 parent 415bfd7 commit b177c07
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arxiv/how_can_we_be_so_dense/Dockerfile
Expand Up @@ -18,7 +18,7 @@
#
# http://numenta.org/licenses/
# ----------------------------------------------------------------------
FROM python:2.7
FROM python:2.7.14

# Install python dependencies
COPY requirements.txt /work/requirements.txt
Expand Down
Expand Up @@ -33,4 +33,4 @@ WORKDIR /home/
# Export results
VOLUME /home/plots/

ENTRYPOINT ["python", "generate_figure.py"]
CMD ["python", "generate_figure.py"]
Expand Up @@ -18,7 +18,7 @@
#
# http://numenta.org/licenses/
# ----------------------------------------------------------------------
FROM python:2.7.14
FROM numenta/nupic:1.0.5

# Install dependencies
COPY requirements.txt /home/
Expand Down
@@ -0,0 +1 @@
**/.*
36 changes: 36 additions & 0 deletions frontiers/why_neurons_have_thousands_of_synapses/Dockerfile
@@ -0,0 +1,36 @@
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2017, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Affero Public License for more details.
#
# You should have received a copy of the GNU Affero Public License
# along with this program. If not, see http://www.gnu.org/licenses.
#
# http://numenta.org/licenses/
# ----------------------------------------------------------------------
FROM numenta/nupic:1.0.5

# Install dependencies
COPY requirements.txt /home/
RUN pip install numpy==1.11.3 && \
pip install gensim==3.0.0 && \
pip install -r /home/requirements.txt

# Copy context into container file system
COPY . /home/
WORKDIR /home/

# Export results
VOLUME /home/plots/

CMD ["python", "generate_plots.py"]
@@ -0,0 +1 @@
**/.*
@@ -0,0 +1,29 @@
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2019, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Affero Public License for more details.
#
# You should have received a copy of the GNU Affero Public License
# along with this program. If not, see http://www.gnu.org/licenses.
#
# http://numenta.org/licenses/
# ----------------------------------------------------------------------
FROM numenta/nab:py2.7

COPY . /home/
WORKDIR /home/

# Force matplotlib backend to be agg
ENV MPLBACKEND=Agg

CMD ["./generate_plots.sh"]

0 comments on commit b177c07

Please sign in to comment.