Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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 \
|