We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fa97f0 commit 96233c6Copy full SHA for 96233c6
.circleci/config.yml
@@ -60,6 +60,7 @@ jobs:
60
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > /usr/local/bin/cc-test-reporter
61
chmod +x /usr/local/bin/cc-test-reporter
62
/usr/local/bin/cc-test-reporter before-build
63
+ - run: sudo chown -R 5000 .
64
- run:
65
name: Run tests
66
command: |
Dockerfile
@@ -23,6 +23,12 @@ RUN poetry install --no-dev --no-interaction --no-ansi
23
24
COPY . /src
25
26
+RUN useradd --no-create-home --system -s /bin/false --uid 5000 uwsgi
27
+
28
+RUN chown -R uwsgi /src
29
30
EXPOSE 5000
31
32
+USER uwsgi
33
34
CMD [ "uwsgi", "--ini", "app.ini" ]
pytest.ini
@@ -1,2 +1,2 @@
1
[pytest]
2
-addopts = -p no:warnings
+addopts = -p no:warnings
0 commit comments