]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/gitpod/Dockerfile
Process images in a dedicated worker
[github/Chocobozzz/PeerTube.git] / support / docker / gitpod / Dockerfile
index e18c392bfceb89d8203fe4f4851a4645399e0b60..6c5788e72f2c19d4095eefc8d0e08048ff3f0e31 100644 (file)
@@ -2,14 +2,10 @@ FROM gitpod/workspace-postgres
 
 # Gitpod will not rebuild PeerTube's dev image unless *some* change is made to this Dockerfile.
 # To trigger a rebuild, simply increase this counter:
-ENV TRIGGER_REBUILD 1
+ENV TRIGGER_REBUILD 2
 
 # 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