This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.6-alpine | |
ENV PYTHONUNBUFFERED 1 | |
RUN apk update \ | |
# psycopg2 dependencies | |
&& apk add --virtual build-deps gcc python3-dev musl-dev \ | |
&& apk add postgresql-dev \ | |
# Pillow dependencies | |
&& apk add jpeg-dev zlib-dev freetype-dev lcms2-dev openjpeg-dev tiff-dev tk-dev tcl-dev \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -e | |
if [ -z "$1" ]; then | |
echo "Uses ffmpeg in a docker container, to convert a video file to an mp4" | |
echo "Missing argument. " | |
echo "encode.sh <VIDEO_TO_ENCODE>" | |
echo "encode.sh movie.wmv" | |
exit 1 |