Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed May 5, 2024
1 parent 8eb2c40 commit 0eecb28
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build docker image
name: Build docker image for meme-generator

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker_memebot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build docker image
name: Build docker image for github-meme-bot

on:
push:
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile.memebot
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ RUN apt-get update \
&& apt-get purge -y --auto-remove \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir --upgrade -r /app/requirements.txt \
&& git clone --depth=1 https://github.com/MeetWq/github-meme-bot /app \
&& git clone --depth=1 https://github.com/MeetWq/github-meme-bot \
&& pip install --no-cache-dir --upgrade nonebot2 nonebot-adapter-github

COPY ./meme_generator /app/meme_generator
COPY ./docker/config.toml.template /app/config.toml.template
COPY ./docker/start_memebot.sh /app/start_memebot.sh
COPY ./github-meme-bot/src /app/src
COPY ./github-meme-bot/bot.py ./github-meme-bot/.env /app/
RUN chmod +x /app/start_memebot.sh
RUN python -m meme_generator.cli

Expand Down

0 comments on commit 0eecb28

Please sign in to comment.