File size: 245 Bytes
afb4b99
c9dc6b1
afb4b99
 
c9dc6b1
afb4b99
 
c9dc6b1
1
2
3
4
5
6
7
8
FROM python:3.9
RUN useradd -m -u 1000 user
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --upgrade pip
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
USER user
COPY --link --chown=1000 ./ /code