mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 11:23:48 +01:00
inbox service: fix javax.mail duplicate jar with jetty
This commit is contained in:
parent
44a1389dd7
commit
f3f21bbf73
@ -8,5 +8,8 @@ RUN apt-get update && apt-get -y -q install ffmpeg mediainfo tesseract-ocr tesse
|
||||
ENV TESSDATA_PREFIX /usr/share/tesseract-ocr
|
||||
ENV LC_NUMERIC C
|
||||
|
||||
# Remove the embedded javax.mail jar from Jetty
|
||||
RUN rm -f /opt/jetty/lib/jndi/javax.mail.glassfish-*.jar
|
||||
|
||||
ADD docs.xml /opt/jetty/webapps/docs.xml
|
||||
ADD docs-web/target/docs-web-*.war /opt/jetty/webapps/docs.war
|
||||
|
@ -46,10 +46,12 @@ public class InboxService extends AbstractScheduledService {
|
||||
|
||||
@Override
|
||||
protected void startUp() {
|
||||
log.info("Inbox service starting up");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void shutDown() {
|
||||
log.info("Inbox service shutting down");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user