mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
Run migration before starting Docker server; update README a bit
This commit is contained in:
parent
5c94a7c515
commit
8118b588d8
3 changed files with 9 additions and 16 deletions
|
|
@ -17,10 +17,9 @@ COPY . /app/
|
|||
COPY config/database.docker.yml /app/config/database.yml
|
||||
COPY config/site.docker.yml /app/config/site.yml
|
||||
|
||||
#COPY docker-entrypoint.sh /
|
||||
#ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
COPY docker-startserver.sh /
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
#CMD ["rails", "server", "-e", "production", "-b", "0.0.0.0"]
|
||||
CMD ["rails", "server", "-b", "0.0.0.0"]
|
||||
CMD ["./docker-startserver.sh"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue