mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
A few more fixes in hope of fixing the Docker Compose
This commit is contained in:
parent
2e40879123
commit
53c7c94306
2 changed files with 4 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ COPY config/site.docker.yml /app/config/site.yml
|
|||
RUN RAILS_ENV=production bundle exec rake assets:precompile
|
||||
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["./docker-entrypoint.sh"]
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
set -e
|
||||
|
||||
# Find our app dir
|
||||
appdir=$(cd $(dirname "$0")/.. && pwd)
|
||||
|
||||
# Check if we've been told to run the command in Docker Composer.
|
||||
cmd="$@"; [ "$#" -eq 0 ] && cmd=bash
|
||||
export VOLUME="$appdir:/app"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue