Skip to content

Commit b22f96e

Browse files
committed
Revert app changes
1 parent 2744080 commit b22f96e

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
44
app_local_port: 3400
55
app_name: app-catala

app-catala/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ FROM python:3.13-slim AS base
1111

1212
RUN pip install --no-cache-dir poetry==2.1.1
1313

14-
# Ignore pinning apt package dependencies
15-
# hadolint ignore=DL3008
1614
RUN apt-get update \
1715
&& apt-get upgrade --yes \
1816
&& apt-get install --no-install-recommends --yes \
@@ -25,11 +23,10 @@ ARG RUN_UID
2523
ARG RUN_USER
2624

2725
RUN : "${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

0 commit comments

Comments
 (0)