Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +0 -14
Dockerfile
CHANGED
@@ -77,20 +77,6 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
|
|
77 |
envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
|
78 |
&& rm entrypoint.sh.template
|
79 |
|
80 |
-
|
81 |
-
RUN curl -fsSL https://pgp.mongodb.com/server-6.0.asc | \
|
82 |
-
gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg \
|
83 |
-
--dearmor
|
84 |
-
|
85 |
-
RUN echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list
|
86 |
-
|
87 |
-
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
88 |
-
mongodb-org && \
|
89 |
-
rm -rf /var/lib/apt/lists/*
|
90 |
-
|
91 |
-
RUN mkdir -p /data/db
|
92 |
-
RUN chown -R 1000:1000 /data
|
93 |
-
|
94 |
RUN curl -fsSL https://deb.nodesource.com/setup_19.x | /bin/bash -
|
95 |
|
96 |
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 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 \
|