From c0e19f237ba2c1fa87f22e38fb491281850e98ca Mon Sep 17 00:00:00 2001 From: Milad Karimiyan Date: Wed, 1 Sep 2021 02:05:47 +0430 Subject: [PATCH] Fix permission denied bug (#2802) * Fix permission denied bug Fixing this issue: ERROR: for greenlight-v2 Cannot start service app: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "bin/start": permission denied: unknown * fix persian sentence this issue appear in fa_IR locale * Remove unnecessary change user in Dockerfile I removed USER root and result was the same Co-authored-by: Ahmad Farhat --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index fee70126..766c8da4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,5 +63,8 @@ EXPOSE 80 ARG version_code ENV VERSION_CODE=$version_code +# Set executable permission to start file +RUN chmod +x bin/start + # Start the application. CMD ["bin/start"]