-
Notifications
You must be signed in to change notification settings - Fork 1
Repo variable and config updates #198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,19 +67,17 @@ COPY --from=apptainer-builds /opt/apptainer-images /opt/apptainer-images/ | |
|
||
ENV OTHER_OPTIONS='--tls-aes' | ||
WORKDIR /opt/autobidsportal | ||
COPY ./entrypoint.sh /opt/autobidsportal/entrypoint.sh | ||
COPY ./autobidsportal.ini.example autobidsportal.ini | ||
COPY ./bids_form.py . | ||
|
||
RUN git config --system user.name "Autobids Portal" \ | ||
&& git config --system user.email "autobids@dummy.com" \ | ||
&& WHEEL=$(ls /opt/wheels | grep whl) \ | ||
&& pip install --no-cache-dir "/opt/wheels/${WHEEL}[deploy]" \ | ||
&& rm -r /opt/wheels \ | ||
&& chmod +x /opt/autobidsportal/entrypoint.sh | ||
&& rm -r /opt/wheels | ||
|
||
ENV DCM4CHE_VERSION=5.24.1 | ||
ENV PATH=/apps/dcm4che/dcm4che-${DCM4CHE_VERSION}/bin:/apps/DicomRaw:/apps/cfmm2tar:/opt/apptainer/bin:$PATH | ||
ENV _JAVA_OPTIONS="-Xmx2048m" | ||
|
||
ENTRYPOINT ["/opt/autobidsportal/entrypoint.sh"] | ||
CMD ["uwsgi", "--ini=autobidsportal.ini"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you can still use the entrypoint script if you want as long as CMD is the directive There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll give this a shot before merging in - if it works I'll add it back in |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should've noted this before, I would do
AUTOBIDS_DICOM_PI_BLACKLIST=""
(I don't think it will work properly otherwise)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I will leave this as is for now but make a mental note until we get a chance to try it out.