fix: unix user perms
Build and Publish Container / Publish Linux container (push) Successful in 5m32s
Build and Publish Container / Publish Linux container (push) Successful in 5m32s
This commit is contained in:
+2
-4
@@ -4,7 +4,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
RUN dpkg --add-architecture i386 \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ca-certificates curl gosu lib32gcc-s1 python3 python3-pip python3-venv \
|
||||
ca-certificates curl lib32gcc-s1 python3 python3-pip python3-venv \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& useradd --create-home --shell /bin/bash progression \
|
||||
&& mkdir -p /opt/steamcmd/steamapps /srv/progression/.data \
|
||||
@@ -21,9 +21,7 @@ COPY --chown=progression:progression progression_backend ./progression_backend
|
||||
COPY --chown=progression:progression art ./art
|
||||
COPY --chmod=755 docker-entrypoint.sh /usr/local/bin/progression-entrypoint
|
||||
|
||||
ENV HOME=/home/progression \
|
||||
USER=progression \
|
||||
XDG_DATA_HOME=/home/progression/.local/share \
|
||||
ENV HOME=/root \
|
||||
PROGRESSION_HOST=0.0.0.0 \
|
||||
PROGRESSION_PORT=8000 \
|
||||
PROGRESSION_DB_PATH=.data/progression.db \
|
||||
|
||||
Reference in New Issue
Block a user