mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Handle empty database password properly, don't try to run docker-compose inside the container
This commit is contained in:
parent
53c7c94306
commit
85e104006c
7 changed files with 15 additions and 8 deletions
|
|
@ -5,6 +5,8 @@ RUN bundle config --global frozen 1
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
RUN touch /etc/app-env
|
||||
|
||||
COPY Gemfile* /app/
|
||||
RUN gem install bundler
|
||||
RUN bundle install --jobs 4
|
||||
|
|
@ -17,8 +19,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 ["/app/docker-entrypoint.sh"]
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue