FROM python:3.9 RUN useradd -m -u 1000 user USER user ENV PATH="/home/user/.local/bin:$PATH" WORKDIR /app COPY --chown=user ./requirements.txt requirements.txt COPY --chown=user ./app.py app.py RUN pip install --no-cache-dir --upgrade -r requirements.txt RUN git clone https://github.com/gregdan3/sona-toki.git WORKDIR sona-toki/src/ RUN ls ../.. RUN find -name app.py COPY --chown=user ../../app.py app.py CMD ["python", "app.py"]