Fixing home directory issue in Dockerfile (#382)

This commit is contained in:
Oussama Messabih
2023-12-12 00:41:05 +04:00
committed by GitHub
parent 1c58566488
commit a9bebab778
+1 -1
View File
@@ -8,7 +8,7 @@ COPY . /app
RUN pip install --no-cache --upgrade pip \
&& pip install --no-cache /app \
&& addgroup --system app && adduser --system --group app \
&& addgroup --system app && adduser --system --group --home /home/app app \
&& mkdir -p /tmp/shell_gpt \
&& chown -R app:app /tmp/shell_gpt