mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-25 03:50:53 +00:00
Update Dockerfile
This commit is contained in:
parent
82d1dc7355
commit
d27e72b6e4
2 changed files with 4 additions and 2 deletions
|
@ -30,7 +30,8 @@ RUN bundle config github.https true; cd /var/www && bundle install --path /var/b
|
|||
RUN bundle exec rake assets:precompile
|
||||
|
||||
# This is a temporary solution to fix assets issue
|
||||
RUN mv /var/www/public/assets /home/web/assets
|
||||
|
||||
USER root
|
||||
RUN mv /var/www/public/assets /home/web/assets
|
||||
|
||||
CMD ["/var/www/script/entry.sh"]
|
||||
|
|
|
@ -4,7 +4,7 @@ services:
|
|||
web:
|
||||
image: ensl/ensl.org:latest
|
||||
volumes:
|
||||
- "./public:/var/www/public"
|
||||
- "../public:/var/www/public"
|
||||
ports:
|
||||
- "4000:4000"
|
||||
depends_on:
|
||||
|
@ -13,6 +13,7 @@ services:
|
|||
# - redis
|
||||
db:
|
||||
image: mariadb:latest
|
||||
command: mysqld
|
||||
volumes:
|
||||
- "./db_data:/var/lib/mysql"
|
||||
- "./ext/mysql.conf.d:/etc/mysql/conf.d"
|
||||
|
|
Loading…
Reference in a new issue