make bot functional
This commit is contained in:
parent
2c262a8770
commit
45816e0239
3 changed files with 29 additions and 6 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM bash:5
|
||||
WORKDIR /usr/local/quotebot
|
||||
|
||||
COPY main.sh ./
|
||||
|
||||
RUN adduser -S quotebot --disabled-password --uid 1000 && apk add curl && apk add uuidgen
|
||||
USER quotebot
|
||||
|
||||
ENTRYPOINT ["bash", "/usr/local/quotebot/main.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue