PeerTube/support/docker/gitpod/Dockerfile

12 lines
310 B
Docker
Raw Normal View History

2019-01-30 09:39:42 +01:00
FROM gitpod/workspace-postgres
# Install PeerTube's dependencies.
RUN sudo apt-get update -q && sudo apt-get install -qy \
ffmpeg \
openssl \
redis-server
# Set up PostgreSQL.
COPY --chown=gitpod:gitpod setup_postgres.sql /tmp/
RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql