title: Starting container process caused "exec: \"/tmp/run.sh\": permission denied": unknown
body: <p>I have a Dockerfile </p>
  
  <pre><code>FROM composer:1.8.5 as build_stage
  
  COPY . /src
  WORKDIR /src
  RUN composer install
  
  
  FROM alpine:3.8
  RUN apk --no-cache add \
  php7 \
  php7-mbstring \
  php7-session \
  php7-openssl \
  php7-tokenizer \
  php7-json \
  php7-pdo \
  php7-pdo_pgsql \
  php7-pgsql
  COPY --from=build_stage /src  /src
  RUN ls -al
  RUN set -x \
  addgroup -g 82 -S www-data \
  adduser -u 82 -D -S -G www-data www-data
  WORKDIR /src
  RUN ls -al
  RUN chmod -R 777 storage
  RUN sudo chmod +x run.sh
  copy ./run.sh /tmp
  ENTRYPOINT ["/tmp/run.sh"]
  </code></pre>
  
  <p>run.sh </p>
  
  <pre><code>#!/bin/sh
  
  cd /app
  php artisan migrate:fresh --seed
  php artisan serve --host=0.0.0.0
  </code></pre>
  
  <p>and when I run, I kept getting </p>
  
  <p><a href="https://i.stack.imgur.com/is5GU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/is5GU.png" alt="enter image description here"></a></p>
  
  <p>How would one go about and debug this further?</p>