Skip to content

Commit

Permalink
Merge pull request #1162 from NatLibFi/odissei-data-master
Browse files Browse the repository at this point in the history
Install Composer dependencies for Docker + add .dockerignore
  • Loading branch information
osma authored May 20, 2021
2 parents 4a050f4 + 046169b commit 4b538db
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
config.ttl
build
vendor
report
components
plugins/*
composer.phar
composer.lock
tests/jena-fuseki*
.vagrant
.project
.DS_Store
.phpunit.result.cache
.git
3 changes: 3 additions & 0 deletions dockerfiles/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ WORKDIR /var/www/html
RUN rm index.html

COPY . /var/www/html
RUN curl -sS https://getcomposer.org/installer | php
RUN php composer.phar install --no-dev


# Configure Skosmos
COPY dockerfiles/config/config-docker.ttl /var/www/html/config.ttl
Expand Down

0 comments on commit 4b538db

Please sign in to comment.