Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -79,6 +79,8 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
|
|
| 79 |
envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
|
| 80 |
&& rm entrypoint.sh.template
|
| 81 |
|
|
|
|
|
|
|
| 82 |
|
| 83 |
RUN curl -fsSL https://pgp.mongodb.com/server-6.0.asc | \
|
| 84 |
gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg \
|
|
@@ -103,8 +105,6 @@ RUN mkdir /app
|
|
| 103 |
RUN chown -R 1000:1000 /app
|
| 104 |
|
| 105 |
RUN useradd -m -u 1000 user
|
| 106 |
-
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
|
| 107 |
-
RUN dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
|
| 108 |
# Switch to the "user" user
|
| 109 |
USER user
|
| 110 |
|
|
|
|
| 79 |
envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
|
| 80 |
&& rm entrypoint.sh.template
|
| 81 |
|
| 82 |
+
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
|
| 83 |
+
RUN dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
|
| 84 |
|
| 85 |
RUN curl -fsSL https://pgp.mongodb.com/server-6.0.asc | \
|
| 86 |
gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg \
|
|
|
|
| 105 |
RUN chown -R 1000:1000 /app
|
| 106 |
|
| 107 |
RUN useradd -m -u 1000 user
|
|
|
|
|
|
|
| 108 |
# Switch to the "user" user
|
| 109 |
USER user
|
| 110 |
|