mirror of
https://github.com/sismics/docs.git
synced 2024-12-31 15:23:51 +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 TESSDATA_PREFIX /usr/share/tesseract-ocr
|
||||||
ENV LC_NUMERIC C
|
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.xml /opt/jetty/webapps/docs.xml
|
||||||
ADD docs-web/target/docs-web-*.war /opt/jetty/webapps/docs.war
|
ADD docs-web/target/docs-web-*.war /opt/jetty/webapps/docs.war
|
||||||
|
@ -46,10 +46,12 @@ public class InboxService extends AbstractScheduledService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void startUp() {
|
protected void startUp() {
|
||||||
|
log.info("Inbox service starting up");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void shutDown() {
|
protected void shutDown() {
|
||||||
|
log.info("Inbox service shutting down");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user