Explorar el Código

dockerfile

master
feing hace 9 meses
padre
commit
b4a3f30cde
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Dockerfile

+ 1
- 1
Dockerfile Ver fichero

@@ -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

Cargando…
Cancelar
Guardar