File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
.strata-template-rules-engine-catala Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2- _commit : fae3b20
3- _src_path : .. /strata-template-rules-engine-catala
2+ _commit : 4f60dcd
3+ _src_path : https://github.com/navapbc /strata-template-rules-engine-catala
44app_local_port : 3400
55app_name : app-catala
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ FROM python:3.13-slim AS base
1111
1212RUN pip install --no-cache-dir poetry==2.1.1
1313
14- # Ignore pinning apt package dependencies
15- # hadolint ignore=DL3008
1614RUN apt-get update \
1715 && apt-get upgrade --yes \
1816 && apt-get install --no-install-recommends --yes \
@@ -25,11 +23,10 @@ ARG RUN_UID
2523ARG RUN_USER
2624
2725RUN : "${RUN_USER:?RUN_USER and RUN_UID need to be set and non-empty.}" && \
28- if [ "${RUN_USER}" ! = "root" ]; then \
29- useradd --create-home --create --user-group --home "/home/${RUN_USER}" --uid ${RUN_UID} "${RUN_USER}" \
26+ [ "${RUN_USER}" = "root" ] || \
27+ ( useradd --create-home --create --user-group --home "/home/${RUN_USER}" --uid ${RUN_UID} "${RUN_USER}" \
3028 && mkdir /app \
31- && chown -R ${RUN_UID} "/home/${RUN_USER}" /app; \
32- fi
29+ && chown -R ${RUN_UID} "/home/${RUN_USER}" /app)
3330
3431# -----------
3532# Dev image
You can’t perform that action at this time.
0 commit comments