truss 0.10.9rc541__py3-none-any.whl → 0.10.9rc542__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of truss might be problematic. Click here for more details.
- truss/templates/server.Dockerfile.jinja +5 -3
- {truss-0.10.9rc541.dist-info → truss-0.10.9rc542.dist-info}/METADATA +1 -1
- {truss-0.10.9rc541.dist-info → truss-0.10.9rc542.dist-info}/RECORD +6 -6
- {truss-0.10.9rc541.dist-info → truss-0.10.9rc542.dist-info}/WHEEL +0 -0
- {truss-0.10.9rc541.dist-info → truss-0.10.9rc542.dist-info}/entry_points.txt +0 -0
- {truss-0.10.9rc541.dist-info → truss-0.10.9rc542.dist-info}/licenses/LICENSE +0 -0
|
@@ -102,6 +102,11 @@ COPY --chown={{ default_owner }} ./{{ config.model_module_dir }} ${APP_HOME}/mod
|
|
|
102
102
|
{% endblock %} {#- endblock app_copy #}
|
|
103
103
|
|
|
104
104
|
{% block run %}
|
|
105
|
+
|
|
106
|
+
{%- if non_root_user %}
|
|
107
|
+
RUN chown -R {{ app_username }}:{{ app_username }} ${HOME} ${APP_HOME}
|
|
108
|
+
{%- endif %} {#- endif non_root_user #}
|
|
109
|
+
|
|
105
110
|
{%- if config.docker_server %}
|
|
106
111
|
RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
107
112
|
curl nginx && rm -rf /var/lib/apt/lists/*
|
|
@@ -124,7 +129,6 @@ RUN rm -f /etc/nginx/sites-enabled/default
|
|
|
124
129
|
{#- nginx writes to /var/lib/nginx, /var/log/nginx, and /run directories #}
|
|
125
130
|
{% set nginx_dirs = ["/var/lib/nginx", "/var/log/nginx", "/run"] %}
|
|
126
131
|
RUN chown -R {{ app_username }}:{{ app_username }} {{ nginx_dirs | join(" ") }}
|
|
127
|
-
RUN chown -R {{ app_username }}:{{ app_username }} ${HOME} ${APP_HOME}
|
|
128
132
|
USER {{ app_username }}
|
|
129
133
|
{%- endif %} {#- endif non_root_user #}
|
|
130
134
|
ENTRYPOINT ["/docker_server/.venv/bin/supervisord", "-c", "{{ supervisor_config_path }}"]
|
|
@@ -134,7 +138,6 @@ ENV CONTROL_SERVER_PORT="8080"
|
|
|
134
138
|
ENV INFERENCE_SERVER_PORT="8090"
|
|
135
139
|
ENV SERVER_START_CMD="/control/.env/bin/python /control/control/server.py"
|
|
136
140
|
{%- if non_root_user %}
|
|
137
|
-
RUN chown -R {{ app_username }}:{{ app_username }} ${HOME} ${APP_HOME}
|
|
138
141
|
USER {{ app_username }}
|
|
139
142
|
{%- endif %} {#- endif non_root_user #}
|
|
140
143
|
ENTRYPOINT ["/control/.env/bin/python", "/control/control/server.py"]
|
|
@@ -142,7 +145,6 @@ ENTRYPOINT ["/control/.env/bin/python", "/control/control/server.py"]
|
|
|
142
145
|
ENV INFERENCE_SERVER_PORT="8080"
|
|
143
146
|
ENV SERVER_START_CMD="{{ python_executable }} /app/main.py"
|
|
144
147
|
{%- if non_root_user %}
|
|
145
|
-
RUN chown -R {{ app_username }}:{{ app_username }} ${HOME} ${APP_HOME}
|
|
146
148
|
USER {{ app_username }}
|
|
147
149
|
{%- endif %} {#- endif non_root_user #}
|
|
148
150
|
ENTRYPOINT ["{{ python_executable }}", "/app/main.py"]
|
|
@@ -71,7 +71,7 @@ truss/templates/cache.Dockerfile.jinja,sha256=evMbbMXjceDjUmGGuB0shLS_PxZsc9ZGkb
|
|
|
71
71
|
truss/templates/cache_requirements.txt,sha256=xoPoJ-OVnf1z6oq_RVM3vCr3ionByyqMLj7wGs61nUs,87
|
|
72
72
|
truss/templates/copy_cache_files.Dockerfile.jinja,sha256=Os5zFdYLZ_AfCRGq4RcpVTObOTwL7zvmwYcvOzd_Zqo,126
|
|
73
73
|
truss/templates/docker_server_requirements.txt,sha256=PyhOPKAmKW1N2vLvTfLMwsEtuGpoRrbWuNo7tT6v2Mc,18
|
|
74
|
-
truss/templates/server.Dockerfile.jinja,sha256=
|
|
74
|
+
truss/templates/server.Dockerfile.jinja,sha256=lS23HknIQhOzXprx1_xBBHTWb7LG9VxiIt21MAU9OVI,7080
|
|
75
75
|
truss/templates/control/requirements.txt,sha256=Kk0tYID7trPk5gwX38Wrt2-YGWZAXFJCJRcqJ8ZzCjc,251
|
|
76
76
|
truss/templates/control/control/application.py,sha256=jYeta6hWe1SkfLL3W4IDmdYjg3ZuKqI_UagWYs5RB_E,3793
|
|
77
77
|
truss/templates/control/control/endpoints.py,sha256=FM-sgao7I3gMoUTasM3Xq_g2LDoJQe75JxIoaQxzeNo,10031
|
|
@@ -365,8 +365,8 @@ truss_train/definitions.py,sha256=RZs4bCWkq7gBJALDLgmd4QxjlxWk6GMs2a62kiAalvw,67
|
|
|
365
365
|
truss_train/deployment.py,sha256=zmeJ66kg1Wc7l7bwA_cXqv85uMF77hYl7NPHuhc1NPs,2493
|
|
366
366
|
truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
|
|
367
367
|
truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
|
|
368
|
-
truss-0.10.
|
|
369
|
-
truss-0.10.
|
|
370
|
-
truss-0.10.
|
|
371
|
-
truss-0.10.
|
|
372
|
-
truss-0.10.
|
|
368
|
+
truss-0.10.9rc542.dist-info/METADATA,sha256=TzKbqdhzLPV3A_nqU415h2f31GDcb4c1KIAXa-oibfI,6674
|
|
369
|
+
truss-0.10.9rc542.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
370
|
+
truss-0.10.9rc542.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
|
|
371
|
+
truss-0.10.9rc542.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
|
|
372
|
+
truss-0.10.9rc542.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|