Add docker-compose and Dockerfile
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM "python:3.10-alpine"
|
||||
STOPSIGNAL SIGINT
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
RUN pip3 install pipenv
|
||||
RUN apk add build-base libffi-dev
|
||||
COPY ./Pipfile ./Pipfile.lock /app/
|
||||
RUN pipenv install
|
||||
COPY ./config.toml /app/
|
||||
CMD pipenv run python3 -m omnibot
|
||||
Reference in New Issue
Block a user