1
0
Fork 0
peertube/support/docker/gitpod/Dockerfile
2019-12-03 17:22:25 +01:00

11 lines
343 B
Docker

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 support/docker/gitpod/setup_postgres.sql /tmp/
RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql && pg_stop