* Remove toml dependency since that comes with Python as of 3.11 * Update toml usage to tomllib in config.py * Update `with open(...)` for toml file reading to be 'rb' * Update Pipfile.lock for locked dependencies to work with Python 3.12 Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
10 lines
219 B
Docker
10 lines
219 B
Docker
FROM "python:3.12-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
|
|
CMD pipenv run python3 -m omnibot
|