Skip to content

Commit 74b3b51

Browse files
committed
Update Dockerfile.Redhat
1 parent d3a9219 commit 74b3b51

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Aspose.HTML-for-Java.docker/Dockerfile.Redhat

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,8 @@ RUN yum -y --skip-broken install -y ttf-mscorefonts-installer fontconfig
2222
RUN fc-list
2323
RUN ls
2424

25-
# 4. Copy and install xorg-x11-server-Xvfb package
26-
COPY xorg-x11-server-Xvfb-1.20.11-15.el8.x86_64.rpm /tmp/xorg-x11-server-Xvfb-1.20.11-15.el8.x86_64.rpm
27-
RUN yum -y localinstall /tmp/xorg-x11-server-Xvfb-1.20.11-15.el8.x86_64.rpm
28-
RUN ls
29-
3025
RUN yum -y --skip-broken install rpm
3126
RUN ls
3227

33-
# 5. Set ENTRYPOINT to run the application with Xvfb
34-
ENTRYPOINT xvfb-run --server-args="-screen 0 1024x768x24" java -jar app.jar -Djava.awt.headless=false $APP_PATH
28+
# 4. Set ENTRYPOINT to run the application
29+
ENTRYPOINT java -jar $APP_PATH

0 commit comments

Comments
 (0)