Skip to content

Commit

Permalink
Fix permissions for executables in prod.Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-va committed Mar 10, 2024
1 parent 299c3cf commit f3acff4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit f3acff4

Please sign in to comment.