Skip to content

Commit d22abf7

Browse files
committed
wip
1 parent 54c4d12 commit d22abf7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

backend/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN poetry install --no-root \
4848
#watch out for local files during dev and maintenance of .dockerignore
4949
COPY . .
5050

51-
RUN groupadd -r app && useradd -r -g app app -m
51+
RUN groupadd --gid 1001 app && useradd --uid 1001 --gid 1001 app
5252
USER app
5353

5454
EXPOSE 8000

backend/startup.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env bash
2+
3+
# for matplotlib
4+
export MPLCONFIGDIR=/tmp
5+
26
# wait for database to be ready
37
if [ ! -n "$DJANGO_SETTINGS_MODULE" ]; then
48
export DJANGO_SETTINGS_MODULE=ciso_assistant.settings

0 commit comments

Comments
 (0)