Skip to content

Commit f4709f2

Browse files
authored
Merge pull request #736 from mustafa0x/docker-update
Dockerfile: load .env
2 parents be2363d + 1d7f265 commit f4709f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ RUN yarn install --silent --no-progress --no-audit --no-optional
4141
RUN mkdir -p /var/www/quran/tmp/pids/
4242

4343
EXPOSE 3000
44-
CMD ["bundle", "exec", "puma", "-C", "config/puma.rb"]
44+
CMD ["/bin/sh", "-lc", "set -a; [ -f .env ] && . .env; set +a; exec bundle exec puma -C config/puma.rb"]

0 commit comments

Comments
 (0)