feing 7 mesi fa
parent
commit
b4a3f30cde
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      Dockerfile

+ 1
- 1
Dockerfile Vedi File

@@ -9,7 +9,7 @@ COPY package*.json ./


# 创建一个非 root 用户
RUN adduser --disabled-password --gecos '' appuser
RUN useradd -m -s /bin/bash appuser

# 将工作目录的所有权更改为新用户
RUN chown -R appuser:appuser /app

Loading…
Annulla
Salva