Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ RUN curl -fsSL https://pixi.sh/install.sh | sh
ENV PATH="/root/.pixi/bin:${PATH}"
RUN pixi install -e production
SHELL [ "pixi", "run", "-e", "production" ]
ENTRYPOINT [ "pixi", "run", "-e", "production", "--manifest-path", "/src/pyproject.toml" ]
ENTRYPOINT []

RUN pixi add --pypi supervisor
RUN scripts/generate_static_client.sh

RUN chmod og+rwX -R /src
RUN chmod og+rwX -R /root /src

CMD [ "supervisord" ]
{%- endif -%}
2 changes: 1 addition & 1 deletion template_sources/xml/tool.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<environment_variable name="EP_PATH" inject="entry_point_path_for_label">app_entry</environment_variable>
</environment_variables>
<command><![CDATA[
{% if application_type in ['Nova Application', 'Tutorial'] and framework == 'Trame' %}supervisord > >(tee -a $output) 2> >(tee -a $output >&2)
{% if application_type in ['Nova Application', 'Tutorial'] and framework == 'Trame' %}pixi run -e production -m /src/pyproject.toml supervisord > >(tee -a $output) 2> >(tee -a $output >&2)
{% elif application_type == 'Minimal' %} echo "Container ran successfully."
{% else %}python3.10 -m {{ python_package | replace('-', '_') }} > >(tee -a $output) 2> >(tee -a $output >&2){% endif %}
]]></command>
Expand Down
Loading