Spaces:
Runtime error
Runtime error
sanjay7178
commited on
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -18,11 +18,14 @@ RUN set -x \
|
|
18 |
&& npm cache clear --force \
|
19 |
&& chown -R rocketchat:rocketchat /app
|
20 |
|
21 |
-
#
|
22 |
-
RUN
|
|
|
|
|
23 |
apt-get install -y socat && \
|
24 |
rm -rf /var/lib/apt/lists/*
|
25 |
|
|
|
26 |
USER rocketchat
|
27 |
|
28 |
VOLUME /app/uploads
|
|
|
18 |
&& npm cache clear --force \
|
19 |
&& chown -R rocketchat:rocketchat /app
|
20 |
|
21 |
+
# Update sources to use the Debian archive
|
22 |
+
RUN sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|' /etc/apt/sources.list && \
|
23 |
+
sed -i '/security.debian.org/d' /etc/apt/sources.list && \
|
24 |
+
apt-get update && \
|
25 |
apt-get install -y socat && \
|
26 |
rm -rf /var/lib/apt/lists/*
|
27 |
|
28 |
+
|
29 |
USER rocketchat
|
30 |
|
31 |
VOLUME /app/uploads
|