Skip to content

Commit

Permalink
Merge pull request aws-samples#12 from kedikala/kedikala-fix
Browse files Browse the repository at this point in the history
kedikala-fix
  • Loading branch information
osteffmann authored Aug 8, 2022
2 parents 2e05a52 + 880044b commit 3bcc9ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 2_Strategies/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apt-get -y update && apt-get install -y --no-install-recommends \
RUN wget https://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz && tar -xzf ta-lib-0.4.0-src.tar.gz && cd ta-lib/ && ./configure --prefix=/usr && make && make install && cd ../ && rm -rf ta-lib && rm ta-lib-0.4.0-src.tar.gz

# Install all of the packages
RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
# RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
RUN pip install numpy
RUN pip install scipy
RUN pip install scikit-learn
Expand All @@ -32,4 +32,4 @@ ENV PATH="/opt/program:${PATH}"

# Set up the program in the image
COPY model /opt/program
WORKDIR /opt/program
WORKDIR /opt/program
4 changes: 2 additions & 2 deletions 3_Models/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apt-get -y update && apt-get install -y --no-install-recommends \
RUN wget https://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz && tar -xzf ta-lib-0.4.0-src.tar.gz && cd ta-lib/ && ./configure --prefix=/usr && make && make install && cd ../ && rm -rf ta-lib && rm ta-lib-0.4.0-src.tar.gz

# Install all of the packages
RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
# RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
RUN pip install numpy
RUN pip install scipy
RUN pip install scikit-learn
Expand All @@ -32,4 +32,4 @@ ENV PATH="/opt/program:${PATH}"

# Set up the program in the image
COPY model /opt/program
WORKDIR /opt/program
WORKDIR /opt/program

0 comments on commit 3bcc9ba

Please sign in to comment.