Fix permission denied (#14)

error handling at runtime
starting container process caused: exec: "/usr/local/bin/docker-entrypoint.sh": permission denied: unknown.

Reviewed-on: https://codeberg.org/justusbunsi/gitea-sonarqube-bot/pulls/14
Co-authored-by: tuongvi9911 <tuongvi9911@noreply.codeberg.org>
Co-committed-by: tuongvi9911 <tuongvi9911@noreply.codeberg.org>
This commit is contained in:
tuongvi9911 2021-10-24 18:14:55 +02:00 committed by justusbunsi
parent 21837f9b25
commit afd523c9cd

View file

@ -42,6 +42,6 @@ EXPOSE 3000
ENV GIN_MODE "release"
VOLUME ["/home/bot/config/"]
RUN ["chmod", "+x", "/usr/local/bin/docker-entrypoint.sh"]
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD []