sanjay7178 commited on
Commit
762fb69
·
verified ·
1 Parent(s): 4bb7c71

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # Install socat for port forwarding
22
- RUN apt-get update && \
 
 
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