xzyao commited on
Commit
0be57bc
·
1 Parent(s): 276668c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -77,6 +77,9 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
77
  envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
78
  && rm entrypoint.sh.template
79
 
 
 
 
80
  RUN curl -fsSL https://deb.nodesource.com/setup_19.x | /bin/bash -
81
 
82
  RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
 
77
  envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
78
  && rm entrypoint.sh.template
79
 
80
+ RUN mkdir -p /data/db
81
+ RUN chown -R 1000:1000 /data
82
+
83
  RUN curl -fsSL https://deb.nodesource.com/setup_19.x | /bin/bash -
84
 
85
  RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \