13 lines
356 B
Docker
13 lines
356 B
Docker
|
FROM openjdk:15-alpine
|
||
|
|
||
|
COPY ./build/libs/app.jar /usr/src/MoviesQuoteBot/presenceirb.jar
|
||
|
WORKDIR /usr/src/PresencEirb/
|
||
|
|
||
|
RUN addgroup --system presenceirb && \
|
||
|
adduser --system --no-create-home --ingroup presenceirb presenceirb && \
|
||
|
mkdir logs && \
|
||
|
chown presenceirb:presenceirb -R .
|
||
|
USER presenceirb
|
||
|
|
||
|
CMD [ "java", "-jar", "presenceirb.jar" ]
|