Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Rebuild phantomjs inside docker
Browse files Browse the repository at this point in the history
  • Loading branch information
kesselb committed Oct 17, 2018
1 parent fdaec95 commit 22ba57b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .docker/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ EXPOSE 80

CMD node server.js

RUN apt-get update -y && apt-get install libfontconfig1 -y

RUN mkdir -p /usr/src/app/uploads
RUN mkdir -p /usr/src/app/uploads/courses

RUN mkdir -p /usr/src/app/tmp
RUN chmod a+rwx /usr/src/app/tmp

COPY api/build/src /usr/src/app/
COPY api/node_modules /usr/src/app/node_modules
COPY api/nlf-licenses.json /usr/src/app/
COPY api/package.json /usr/src/app/
COPY api/package-lock.json /usr/src/app/

RUN npm rebuild
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Form validation before submit when creating a new course. [#724](https://github.com/geli-lms/geli/pull/724)
- ID validation of the `CourseController` `/api/courses/:id` route. [#724](https://github.com/geli-lms/geli/pull/724)
- Possibility to add files directly in the file unit. [#728](https://github.com/geli-lms/geli/issues/728)
- Execute npm rebuild in docker. [#]()

### Changed
- Minor fixes and adaptations and merge-failure fixes. [#785](https://github.com/geli-lms/geli/issues/785)
Expand Down

0 comments on commit 22ba57b

Please sign in to comment.