parser/healthcareio/Dockerfile

33 lines
1.2 KiB
Docker
Raw Normal View History

2020-12-11 12:55:34 +00:00
#
# Let us create an image for healthcareio
# The image will contain the {X12} Parser and the
# FROM ubuntu:bionic-20200403
FROM ubuntu:focal
2020-08-21 04:49:13 +00:00
RUN ["apt","update","--fix-missing"]
RUN ["apt-get","upgrade","-y"]
RUN ["apt-get","-y","install","apt-utils"]
RUN ["apt","update","--fix-missing"]
RUN ["apt-get","upgrade","-y"]
2024-02-06 17:16:10 +00:00
RUN ["apt-get","install","-y","mongo","sqlite3","sqlite3-pcre","libsqlite3-dev","python3-dev","python3","python3-pip","git","wget"]
2020-08-21 04:49:13 +00:00
#
#
2020-12-11 12:55:34 +00:00
RUN ["pip3","install","--upgrade","pip"]
2024-02-06 17:16:10 +00:00
RUN ["pip3","install","healthcareio@git+https://healthcare.the-phi.com/git/code/parser.git"]
2020-08-21 04:49:13 +00:00
USER health-user
2020-12-11 12:55:34 +00:00
#
# 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"]
#
# This is the port from which some degree of monitoring can/will happen
EXPOSE 80
# wget https://healthcareio.the-phi.com/git/code/parser.git/bootup.sh
2024-02-06 17:16:10 +00:00
RUN ["wget","https://github.com/sosedoff/pgweb/releases/download/v0.14.2/pgweb_linux_amd64.zip"]
2020-12-11 12:55:34 +00:00
COPY bootup.sh bootup.sh
ENTRYPOINT ["bash","-C"]
CMD ["bootup.sh"]
2020-08-21 04:49:13 +00:00
# VOLUME ["/home/health-user/healthcare-io/","/home-healthuser/.healthcareio"]
2020-12-11 12:55:34 +00:00
# RUN ["pip3","install","git+https://healthcareio.the-phi.com/git"]