-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dockerfiles with faces dependencies
- Loading branch information
1 parent
3b19406
commit 2dd355d
Showing
3 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# Based off of https://github.com/minimaxir/gpt-2-cloud-run/blob/master/Dockerfile | ||
FROM arm32v6/python:3.8-alpine | ||
|
||
RUN apk update && apk add gcc musl-dev | ||
RUN apk update && apk add gcc musl-dev py3-opencv zlib-dev jpeg-dev | ||
|
||
WORKDIR /code | ||
|
||
RUN pip3 --no-cache-dir install -U py-cord==2.0.0b5 python-dotenv | ||
ENV PYTHONPATH=$PYTHONPATH:/usr/lib/python3.10/site-packages | ||
|
||
RUN pip3 --no-cache-dir install -U py-cord python-dotenv markovchain pillow | ||
|
||
COPY .env src/ secret-scholars-bot-config.json ./ | ||
|
||
RUN printf "build_time=%s" "'`date -Iseconds`'" > autogen_buildtime.py | ||
|
||
CMD [ "python", "./bot.py" ] | ||
# CMD [ "python", "./bot.py" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters