-
Notifications
You must be signed in to change notification settings - Fork 18
/
Dockerfile
23 lines (23 loc) · 862 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ruby:2.0.0-p648
RUN apt-get update \
&& apt-get -y --no-install-recommends install nodejs \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /opt/mowoli
COPY Gemfile Gemfile.lock ./
RUN bundle install
COPY . .
RUN mkdir -p var/mwl var/db var/hl7
VOLUME /opt/mowoli/var/mwl /opt/mowoli/var/db /opt/mowoli/var/hl7
# Export directory for the Modality Worklist (MWL).
ENV MWL_DIR="/opt/mowoli/var/mwl"
# Export directory for HL7 files:
ENV HL7_EXPORT_DIR="/opt/mowoli/var/hl7"
# Name of your hospital / office (max. 64 characters)
ENV SCHEDULED_PERFORMING_PHYSICIANS_NAME="Simpson^Bart"
# Identifier of the Assigning Authority (system, organization, agency, or
# department) that issued the Patient ID.
# This sets DICOM-Tag (0010,0021).
ENV ISSUER_OF_PATIENT_ID="MOWOLI"
ENV RAILS_ENV=development
EXPOSE 3000
CMD ["bundle","exec","puma","--config","config/puma.rb"]