Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions composed/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ ENV PATH $PATH:$CATALINA_HOME/bin

EXPOSE 8080 8081

RUN mkdir -p /etc/migrations

#update tomcat permissions
RUN chown -R tomcat:tomcat /opt/tomcat

Expand Down
2 changes: 2 additions & 0 deletions composed/Migration_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,6 @@ mkdir -p /tmp/.OpenMRS${application_suffix}/patient_images/ && \
tar -xf /tmp/images.tar.gz -C /tmp/.OpenMRS${application_suffix}/patient_images && \
rm /tmp/images.tar.gz || :

RUN chmod 777 /tmp/*.war

ENTRYPOINT ["/usr/local/bin/entrypoint-migrations.sh"]