Browse Source

Add missing chmod

Carlos Mogas da Silva 6 months ago
parent
commit
74aa631fa5
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Dockerfile

+ 4
- 2
Dockerfile View File

@@ -1,6 +1,9 @@
1 1
 FROM nextcloud:apache
2 2
 
3
-RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list \
3
+COPY entrypoint.sh /entrypoint.sh
4
+
5
+RUN chmod +x /entrypoint.sh \
6
+    && echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list \
4 7
     && apt-get update && apt-get install -y \
5 8
         supervisor \
6 9
         ffmpeg \
@@ -20,6 +23,5 @@ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/so
20 23
     && mkdir /var/log/supervisord /var/run/supervisord
21 24
 
22 25
 COPY supervisord.conf /etc/supervisor/supervisord.conf
23
-COPY entrypoint.sh /entrypoint.sh
24 26
 
25 27
 CMD ["/usr/bin/supervisord"]

Loading…
Cancel
Save