Spaces:
Building
Building
File size: 439 Bytes
915f257 8301068 915f257 3d4e5d6 0f2b76c d2a2b03 5245a44 db4d024 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
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"] |