Dockerfile 310 B

1234567891011
  1. FROM gitpod/workspace-postgres
  2. # Install PeerTube's dependencies.
  3. RUN sudo apt-get update -q && sudo apt-get install -qy \
  4. ffmpeg \
  5. openssl \
  6. redis-server
  7. # Set up PostgreSQL.
  8. COPY --chown=gitpod:gitpod setup_postgres.sql /tmp/
  9. RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql