Files
omnibot22/Dockerfile
Alek Ratzloff fcb4bd6df1 Update to Python 3.12
* 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>
2024-07-18 11:39:34 -07:00

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