Commit
Author: Kevin Schoon [me@kevinschoon.com]
Hash: 64a7d2ca4ad74c2b0b50cf8548a4818277d770e1
Timestamp: Wed, 17 Apr 2024 10:53:42 +0000 (1 year ago)

+3 -3 +/-1 browse
fix config order
1diff --git a/containers/base/Containerfile b/containers/base/Containerfile
2index 5eaa0a0..e02d233 100644
3--- a/containers/base/Containerfile
4+++ b/containers/base/Containerfile
5 @@ -47,6 +47,9 @@ RUN adduser -D -s /bin/sh -h /home/ayllu ayllu
6 # generate a default server config to fallback to
7 RUN mkdir -p /etc/ayllu && ayllu config generate > /etc/ayllu/config.yaml
8
9+ USER ayllu
10+ WORKDIR /home/ayllu
11+
12 # add a basic git configuration
13 # NOTE: this explicitly ignores CVE 2022-24765 because this is not a multi-user
14 # git environment.
15 @@ -54,7 +57,4 @@ RUN \
16 git config --global --add user.name 'ayllu' && \
17 git config --global --add safe.directory '*'
18
19- USER ayllu
20- WORKDIR /home/ayllu
21-
22 CMD ["/usr/bin/ayllu", "serve"]