Skip to content

Commit

Permalink
Start setting up Docker
Browse files Browse the repository at this point in the history
Toward #65.
  • Loading branch information
waldoj committed Jun 23, 2019
1 parent f8dc5c8 commit dcf046d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM php:5.6.39-cli
RUN docker-php-ext-install mysqli && docker-php-ext-install mysql

RUN apt --fix-broken install
RUN apt-get update
RUN apt-get install -y zip imagemagick mplayer ffmpeg curl wget tesseract-ocr

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

WORKDIR video-processor/
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3.2'
services:
processor:
build:
context: deploy/
dockerfile: Dockerfile
volumes:
- type: bind
source: .
target: /root/video-processor/
container_name: rs_video_processor

0 comments on commit dcf046d

Please sign in to comment.