Logo
Explore Help
Sign In
intercal/omnibot22
1
0
Fork 0
You've already forked omnibot22
Code Issues Pull Requests Releases Wiki Activity
Files
46b9c52f9ca28834490a385b0a4ba066fb18be04
omnibot22/Dockerfile

10 lines
219 B
Docker
Raw Normal View History

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
FROM "python:3.12-alpine"
Add docker-compose and Dockerfile Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-30 20:17:21 -07:00
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
Add config.toml as a mapped file instead of copying This should reduce the number of rebuilds that we have to do for a simple configuration change Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2024-07-18 10:57:13 -07:00
CMD pipenv run python3 -m omnibot
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 39ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API