From f3acff4b5794d052a1cd1d95c5e6fd88d02dba41 Mon Sep 17 00:00:00 2001 From: Daniel von Atzigen Date: Sun, 10 Mar 2024 08:54:30 +0100 Subject: [PATCH] Fix permissions for executables in `prod.Dockerfile` --- build/prod.Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/prod.Dockerfile b/build/prod.Dockerfile index 5fff3ab..be5854e 100644 --- a/build/prod.Dockerfile +++ b/build/prod.Dockerfile @@ -21,9 +21,10 @@ COPY yarn.lock . RUN gem install bundler:2.1.4 \ && bundle install --quiet --jobs 4 \ - && yarn install --silent --pure-lockfile \ - && chmod +x bin/rails + && yarn install --silent --pure-lockfile COPY . /pfadiolten-home +RUN chmod +x bin/* + CMD ["bin/rails", "server", "-b", "0.0.0.0"] \ No newline at end of file