Skip to content

Commit

Permalink
Merge pull request #12 from district0x/mf_bot_docker
Browse files Browse the repository at this point in the history
add ci job and dockerfile for memefactory
  • Loading branch information
sm47916 committed Jul 27, 2023
2 parents 2e41693 + 453ec4f commit 9e5a1f3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: docker_build

on:
on:
push:
branches:
- master
Expand All @@ -12,7 +12,7 @@ jobs:
docker_build:
strategy:
matrix:
image: ["namebazaar-nginx", "namebazaar-bot", "ethlance-bot"]
image: ["namebazaar-nginx", "namebazaar-bot", "ethlance-bot", "memefactory-bot"]
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.ethlance-bot
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ FROM python:3.10
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . .
COPY . .

CMD [ "python3", "ethlance_gpt/ethlance_gpt.py" ]
10 changes: 10 additions & 0 deletions docker/Dockerfile.memefactory-bot
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:3.11

WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . .
COPY memefactory_bot/memefactory_bot.py memefactory_bot.py
COPY abi /usr/src/abi
EXPOSE 80
CMD [ "python3", "memefactory_bot.py" ]

0 comments on commit 9e5a1f3

Please sign in to comment.