Skip to content

Commit eb5db11

Browse files
committed
Add Dockerfile and remove old service and pm2 configs
1 parent 99284f5 commit eb5db11

File tree

3 files changed

+14
-23
lines changed

3 files changed

+14
-23
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM eclipse-temurin:17-alpine
2+
3+
RUN apk update \
4+
&& apk add tesseract-ocr \
5+
&& adduser -h /opt/app -H app
6+
7+
RUN mkdir -p /opt/app && \
8+
chown app:app /opt/app
9+
10+
USER app:app
11+
12+
WORKDIR /opt/app
13+
14+
CMD ["java", "-jar", "GeyserBot.jar"]

ecosystem.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

geyserbot.service

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)