🔧 chore(Dockerfile): reorganize Dockerfile instructions for better readability and maintainability

🐛 fix(Dockerfile): fix ownership of /Botator directory to appuser
The Dockerfile instructions have been reorganized to improve readability and maintainability. The ownership of the /Botator directory is now set to the appuser to ensure proper permissions.
This commit is contained in:
2023-10-31 12:59:12 +01:00
parent fc370828df
commit 2fec34a4bd

View File

@@ -7,8 +7,8 @@ ENV PYTHONDONTWRITEBYTECODE=1
ENV TZ=Europe/Paris
# Install pip requirements
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /Botator
WORKDIR /Botator
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /Botator
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .