truss 0.11.5rc500__py3-none-any.whl → 0.11.5rc501__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/base.Dockerfile.jinja +3 -2
- truss/tests/test_data/server.Dockerfile +1 -1
- {truss-0.11.5rc500.dist-info → truss-0.11.5rc501.dist-info}/METADATA +1 -1
- {truss-0.11.5rc500.dist-info → truss-0.11.5rc501.dist-info}/RECORD +7 -7
- {truss-0.11.5rc500.dist-info → truss-0.11.5rc501.dist-info}/WHEEL +0 -0
- {truss-0.11.5rc500.dist-info → truss-0.11.5rc501.dist-info}/entry_points.txt +0 -0
- {truss-0.11.5rc500.dist-info → truss-0.11.5rc501.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
ARG PYVERSION={{ config.python_version }}
|
|
2
|
+
ARG HOME
|
|
2
3
|
FROM {{ base_image_name_and_tag }} AS truss_server
|
|
3
4
|
|
|
4
5
|
{%- set python_exec_path = config.base_image.python_executable_path or '$(which python3)' %}
|
|
@@ -16,10 +17,10 @@ ENV PYTHON_EXECUTABLE="{{ python_executable }}"
|
|
|
16
17
|
{%- if non_root_user %}
|
|
17
18
|
{# The non-root user's home directory. #}
|
|
18
19
|
{# uv will use $HOME to install packages. #}
|
|
19
|
-
ENV HOME
|
|
20
|
+
ENV HOME=${HOME:-/home/{{ app_username }}}
|
|
20
21
|
{%- else %}
|
|
21
22
|
{# This is the default, but we use this variable later so ... setting it here too.#}
|
|
22
|
-
ENV HOME
|
|
23
|
+
ENV HOME=${HOME:-/root}
|
|
23
24
|
{%- endif %} {#- endif non_root_user #}
|
|
24
25
|
{# Directory containing inference server code. #}
|
|
25
26
|
ENV APP_HOME=/{{ app_username }}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ARG PYVERSION=py39
|
|
2
2
|
FROM baseten/truss-server-base:3.9-v0.4.3 AS truss_server
|
|
3
3
|
ENV PYTHON_EXECUTABLE="/usr/local/bin/python3"
|
|
4
|
-
ENV HOME
|
|
4
|
+
ENV HOME=${HOME:-/root}
|
|
5
5
|
ENV APP_HOME=/app
|
|
6
6
|
RUN mkdir -p ${APP_HOME} /control
|
|
7
7
|
RUN useradd -u 60000 -ms /bin/bash app
|
|
@@ -66,7 +66,7 @@ truss/remote/baseten/utils/time.py,sha256=Ry9GMjYnbIGYVIGwtmv4V8ljWjvdcaCf5NOQzl
|
|
|
66
66
|
truss/remote/baseten/utils/transfer.py,sha256=d3VptuQb6M1nyS6kz0BAfeOYDLkMKUjatJXpY-mp-As,1548
|
|
67
67
|
truss/templates/README.md.jinja,sha256=N7CJdyldZuJamj5jLh47le0hFBdu9irVsTBqoxhPNPQ,2476
|
|
68
68
|
truss/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
69
|
-
truss/templates/base.Dockerfile.jinja,sha256=
|
|
69
|
+
truss/templates/base.Dockerfile.jinja,sha256=GH4Pu8EAezoolWT7qhB5NlQ_N5tm-2LuC8WcZAx4dhc,5813
|
|
70
70
|
truss/templates/cache.Dockerfile.jinja,sha256=1qZqDo1phrcqi-Vwol-VafYJkADsBbQWU6huQ-_1x00,1146
|
|
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
|
|
@@ -184,7 +184,7 @@ truss/tests/test_data/pima-indians-diabetes.csv,sha256=BvW3ws17ymhv2k-S6rX2Hn_2Q
|
|
|
184
184
|
truss/tests/test_data/readme_int_example.md,sha256=fuHvpLtdkJy1f4NAR_djotVBdzusHYNXc-Fwh588XAE,1586
|
|
185
185
|
truss/tests/test_data/readme_no_example.md,sha256=T2CzFMRvICXeX3_5XbFoqhHchcHGot-xM7izx34B3aQ,1607
|
|
186
186
|
truss/tests/test_data/readme_str_example.md,sha256=fP4pvMqgLdIapaOf_BgRiV0H7pw4so0RNxrlq5lbROE,1726
|
|
187
|
-
truss/tests/test_data/server.Dockerfile,sha256=
|
|
187
|
+
truss/tests/test_data/server.Dockerfile,sha256=EdJKGqEztRXOzXec021BBH7C4rV4QEDGqD357s0IPZU,1976
|
|
188
188
|
truss/tests/test_data/annotated_types_truss/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
189
189
|
truss/tests/test_data/annotated_types_truss/config.yaml,sha256=B-ZyyjLLqtxGfXj2tkH68Hy7NOMB_coYvoWyWom61g0,147
|
|
190
190
|
truss/tests/test_data/annotated_types_truss/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -368,8 +368,8 @@ truss_train/deployment.py,sha256=lWWANSuzBWu2M4oK4qD7n-oVR1JKdmw2Pn5BJQHg-Ck,307
|
|
|
368
368
|
truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
|
|
369
369
|
truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
|
|
370
370
|
truss_train/restore_from_checkpoint.py,sha256=8hdPm-WSgkt74HDPjvCjZMBpvA9MwtoYsxVjOoa7BaM,1176
|
|
371
|
-
truss-0.11.
|
|
372
|
-
truss-0.11.
|
|
373
|
-
truss-0.11.
|
|
374
|
-
truss-0.11.
|
|
375
|
-
truss-0.11.
|
|
371
|
+
truss-0.11.5rc501.dist-info/METADATA,sha256=o6fjTFC_junPHCRvoSsJUFNaqEHbWMMKRpwLMyUbju8,6682
|
|
372
|
+
truss-0.11.5rc501.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
373
|
+
truss-0.11.5rc501.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
|
|
374
|
+
truss-0.11.5rc501.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
|
|
375
|
+
truss-0.11.5rc501.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|