12345678910111213141516171819202122232425262728293031323334353637 |
- #
- # Let us create an image for healthcareio
- # The image will contain the {X12} Parser and the
- # FROM ubuntu:bionic-20200403
- FROM ubuntu:focal
- RUN ["apt-get","update","--fix-missing"]
- RUN ["apt-get","upgrade","-y"]
- RUN ["apt-get","-y","install","apt-utils"]
- RUN ["apt-get","update","--fix-missing"]
- RUN ["apt-get","upgrade","-y"]
- RUN ["apt-get","install","-y","mongodb","sqlite3","sqlite3-pcre","libsqlite3-dev","python3-dev","python3","python3-pip","git","python3-virtualenv","wget"]
- #
- #
- RUN ["pip3","install","--upgrade","pip"]
- RUN ["pip3","install","numpy","pandas","git+https://dev.the-phi.com/git/steve/data-transport","botocore","matplotlib"]
- RUN ["pip3","install","git+https://healthcare.the-phi.com/git/code/parser.git"]
- # RUN ["useradd", "-ms", "/bin/bash", "health-user"]
- # USER health-user
- #
- # This volume is where the data will be loaded from (otherwise it is assumed the user will have it in the container somehow)
- #
- VOLUME ["/data","/app/healthcareio"]
- WORKDIR /app
- ENV PYTHONPATH="/app"
- #
- # This is the port from which some degree of monitoring can/will happen
- EXPOSE 80
- EXPOSE 27017
- # wget https://healthcareio.the-phi.com/git/code/parser.git/bootup.sh
- COPY bootup.sh bootup.sh
- ENTRYPOINT ["bash","-C"]
- CMD ["bootup.sh"]
- # VOLUME ["/home/health-user/healthcare-io/","/home-healthuser/.healthcareio"]
- # RUN ["pip3","install","git+https://healthcareio.the-phi.com/git"]
|