Skip to content

Commit

Permalink
Use locally checked out repo
Browse files Browse the repository at this point in the history
  • Loading branch information
enrico-ghidoni committed Mar 26, 2024
1 parent 1085dab commit eb6eed3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
pat: 'owlbot'
- name: Build the Docker image
run: docker build . --file Dockerfile --tag owlbot:1
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM alpine:3.19

RUN apk add git
WORKDIR owlbot

RUN apk add --no-cache python3 py3-pip
RUN git clone https://github.com/CntoDev/discord-owlbot
RUN cd discord-owlbot && pip install --break-system-packages -r requirements.txt
RUN crontab discord-owlbot/crontab.txt
RUN pip install --break-system-packages -r requirements.txt
RUN crontab crontab.txt


CMD ["sh"]

0 comments on commit eb6eed3

Please sign in to comment.