commit | author | age | ||
659253 | 1 | FROM alpine |
JK | 2 | |
f0d935 | 3 | RUN apk add python3 py3-pip |
659253 | 4 | RUN mkdir -p /run/docker/plugins /usr/src/app \ |
JK | 5 | && chown -R nobody:nobody /run/docker/plugins /usr/src/app |
6 | USER nobody | |
7 | ENV HOME=/usr/src/app | |
8 | WORKDIR /usr/src/app | |
9 | ||
10 | COPY --chown=nobody:nobody requirements.txt . | |
11 | RUN pip3 install --user --no-cache-dir -r requirements.txt | |
12 | ||
13 | COPY --chown=nobody:nobody . . | |
14 | ||
f0d935 | 15 | CMD [ "./run.py" ] |