Skip to content

Commit

Permalink
Add Dockerfile and remove old service and pm2 configs
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 committed Jan 15, 2023
1 parent 99284f5 commit eb5db11
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 23 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM eclipse-temurin:17-alpine

RUN apk update \
&& apk add tesseract-ocr \
&& adduser -h /opt/app -H app

RUN mkdir -p /opt/app && \
chown app:app /opt/app

USER app:app

WORKDIR /opt/app

CMD ["java", "-jar", "GeyserBot.jar"]
7 changes: 0 additions & 7 deletions ecosystem.config.js

This file was deleted.

16 changes: 0 additions & 16 deletions geyserbot.service

This file was deleted.

0 comments on commit eb5db11

Please sign in to comment.