Spaces:
Running
Running
File size: 276 Bytes
95f2fe9 157e137 ae54930 157e137 ae54930 a5c5cff 157e137 a5c5cff ae54930 b5ebc71 f5243a5 157e137 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FROM python:3.10
RUN useradd -m -u 1000 user
USER user
WORKDIR /app
COPY --chown=user . /app
ENV PATH="/home/user/.local/bin:${PATH}"
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
COPY --chown=user . .
RUN ls -al /app
CMD ["python", "-m", "FileStream"]
|