Skip to content

Commit c622ee5

Browse files
authored
Separate dependencies and browser installation (#956)
- deps as root - browser as discourse user
1 parent 5bb42d2 commit c622ee5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

image/discourse_test/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ RUN cd /var/www/discourse && sudo -E -u discourse -H bundle exec rake plugin:ins
3838
sudo -E -u discourse -H bundle exec ruby script/install_minio_binaries.rb
3939

4040
RUN cd /var/www/discourse && \
41-
pnpm playwright install --with-deps --no-shell chromium
41+
pnpm playwright install ffmpeg
42+
43+
RUN cd /var/www/discourse && \
44+
sudo -E -u discourse -H pnpm playwright install --no-shell chromium
4245

4346
ENTRYPOINT ["sudo", "-E", "-u", "discourse", "-H", "ruby", "script/docker_test.rb"]

0 commit comments

Comments
 (0)