File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 60
60
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > /usr/local/bin/cc-test-reporter
61
61
chmod +x /usr/local/bin/cc-test-reporter
62
62
/usr/local/bin/cc-test-reporter before-build
63
+ - run : sudo chown -R 5000 .
63
64
- run :
64
65
name : Run tests
65
66
command : |
Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ RUN poetry install --no-dev --no-interaction --no-ansi
23
23
24
24
COPY . /src
25
25
26
+ RUN useradd --no-create-home --system -s /bin/false --uid 5000 uwsgi
27
+
28
+ RUN chown -R uwsgi /src
29
+
26
30
EXPOSE 5000
27
31
32
+ USER uwsgi
33
+
28
34
CMD [ "uwsgi" , "--ini" , "app.ini" ]
Original file line number Diff line number Diff line change 1
1
[pytest]
2
- addopts = -p no:warnings
2
+ addopts = -p no:warnings
You can’t perform that action at this time.
0 commit comments