c0d6b3f2d5
📦 chore(.dockerignore): add .env and .git to the Docker ignore list
...
🐳 chore(Dockerfile): remove unnecessary installation of git and update Dockerfile to copy files instead of cloning repository
The .env and .git files are now added to the .dockerignore file to prevent them from being included in the Docker image. This is done to ensure that sensitive information and version control files are not included in the image.
In the Dockerfile, the installation of git has been removed as it is no longer needed. Instead of cloning the repository, the Dockerfile now copies the required files directly. This improves the build process by reducing unnecessary steps and dependencies.
2023-10-31 12:56:47 +01:00
ec6ba8663b
🔄 chore(Dockerfile): update base image to python:3.11-bookworm and add environment variables for improved container behavior
...
The base image has been updated to python:3.11-bookworm to use the latest version of Python. The environment variable PYTHONDONTWRITEBYTECODE is set to 1 to disable the creation of .pyc files, which can improve performance and reduce disk usage. The TZ environment variable is set to Europe/Paris to configure the container's timezone.
2023-10-31 12:54:17 +01:00
ec60b7636e
🔧 chore(Dockerfile): add git installation step to Dockerfile for better development workflow
...
🚀 feat(Dockerfile): update base image to python:3.10.13-slim-bullseye for better compatibility and performance
📦 chore(Dockerfile): remove .pyc file generation in the container for cleaner codebase
🔧 chore(Dockerfile): turn off buffering for easier container logging
🔧 chore(Dockerfile): update pip requirements installation step to use requirements.txt file
🔧 chore(Dockerfile): remove unnecessary cleanup step after apt-get installation
2023-09-05 09:47:50 +02:00
cf00b06710
🔄 chore(Dockerfile): update base image to python:3.10.13-slim-bullseye for better compatibility and smaller image size
2023-09-05 09:40:48 +02:00
Paillat
ca897cac2a
chore(Dockerfile): remove trailing slash in WORKDIR path to improve consistency
...
chore(Dockerfile): update chown command to apply ownership to the entire /Botator directory instead of just /Botator/code
2023-07-16 20:48:07 +02:00
Paillat
a7fb55adba
Squashed commit of the following:
...
commit 8da8703566
Author: Paillat <git@electronique.cc >
Date: Sun Jul 16 20:41:18 2023 +0200
chore(Dockerfile): change working directory from /Botator/code/ to /Botator/ to match the cloned repository structure
commit 84b464e9c8
Merge: 20bb931 e37377a
Author: Paillat <git@electronique.cc >
Date: Sun Jul 16 20:27:25 2023 +0200
Merge branch 'dev'
commit 20bb931491
Author: Paillat <git@electronique.cc >
Date: Tue May 16 10:02:35 2023 +0200
Reverted changes
commit 024bfde8a6
Author: Paillat <git@electronique.cc >
Date: Fri May 5 16:20:30 2023 +0200
fix(makeprompt.py): add try-except block to handle errors when sending warning message if guild_data["images_limit_reached"] is True
commit 6effbe80ad
Author: Paillat <git@electronique.cc >
Date: Fri May 5 16:18:05 2023 +0200
refactor(makeprompt.py): remove print statements
commit f144963592
Author: Paillat <git@electronique.cc >
Date: Fri May 5 14:24:22 2023 +0200
refactor(makeprompt.py): remove unused code and variables
feat(makeprompt.py): add print statement to check image status for guild
commit 81b9b92d50
Author: Paillat <git@electronique.cc >
Date: Fri May 5 14:19:26 2023 +0200
refactor(makeprompt.py): remove unnecessary try-except blocks and print statements
feat(makeprompt.py): add support for images data for guilds and users
commit 4c86f97fbe
Author: Paillat <git@electronique.cc >
Date: Fri May 5 14:12:20 2023 +0200
refactor(makeprompt.py): simplify need_ignore_message function and remove unnecessary return statement
fix(makeprompt.py): fix bug where messages in premium channels were being ignored
commit 41c73d2ee2
Author: Paillat <git@electronique.cc >
Date: Fri May 5 14:02:47 2023 +0200
chore(makeprompt.py): add print statement for debugging purposes
commit 65ed0e6e07
Author: Paillat <git@electronique.cc >
Date: Fri May 5 13:58:41 2023 +0200
refactor(makeprompt.py): remove unreachable code and debug statement
commit 82186386f7
Author: Paillat <git@electronique.cc >
Date: Fri May 5 13:56:04 2023 +0200
fix(makeprompt.py): add exception handling to channel retrieval and debug message when no premium channels are found
commit 565d0f2956
Author: Paillat <git@electronique.cc >
Date: Fri May 5 13:47:37 2023 +0200
refactor(makeprompt.py): rename variables for clarity and remove unnecessary pass statement
commit f6b67c7913
Author: Paillat <git@electronique.cc >
Date: Fri May 5 13:39:58 2023 +0200
chore(makeprompt.py): add debug print statement to get_guild_data function
commit 788827ab48
Author: Paillat <git@electronique.cc >
Date: Fri May 5 13:35:19 2023 +0200
refactor(makeprompt.py): remove unused code and simplify try-except block
commit 380165fa07
Author: Paillat <git@electronique.cc >
Date: Fri May 5 13:31:56 2023 +0200
fix(makeprompt.py): add exception handling and raise exception instead of pass
commit 88e9acba80
Author: Paillat <git@electronique.cc >
Date: Fri May 5 13:28:27 2023 +0200
FIXED THINGS
commit bee3680e63
Author: Paillat <git@electronique.cc >
Date: Fri May 5 13:18:26 2023 +0200
Fixed wrong usage of cursor and conn with premium database
commit 205f1f5b3e
Author: Paillat <git@electronique.cc >
Date: Fri May 5 13:13:49 2023 +0200
refactor(setup.py): remove try-except block and simplify code for checking premium status of guild
commit ca85067d70
Author: Paillat <git@electronique.cc >
Date: Fri May 5 12:57:52 2023 +0200
fix(makeprompt.py): reverse order of messages when chat history is requested
commit 9c9d674b18
Merge: f145e09 d3a7ffd
Author: Paillat <git@electronique.cc >
Date: Fri May 5 12:48:04 2023 +0200
Merge pull request #39 from Paillat-dev/dev
Dev
commit f145e097b1
Merge: 4b1756e 0ea2672
Author: Paillat <git@electronique.cc >
Date: Fri May 5 12:47:21 2023 +0200
Merge pull request #38 from Paillat-dev/Paillat-dev-patch-1
Update chatGPT.txt
commit 0ea26727ec
Author: Paillat <git@electronique.cc >
Date: Fri May 5 12:47:09 2023 +0200
Update chatGPT.txt
commit 4b1756ede4
Author: Paillat <git@electronique.cc >
Date: Thu Apr 6 18:28:15 2023 +0200
Update chatGPT.txt
2023-07-16 20:41:51 +02:00
Paillat
4f9a7eb0a6
Added function calling and lots of other stuff
2023-07-15 12:20:38 +02:00
Paillat
4d7d192eff
feat(Dockerfile): clone Botator repository and set working directory to /Botator/code/
2023-05-05 12:38:59 +02:00
Alexis LEBEL
aea9502cdc
[DOCKERFILE] Files already mounted
2023-04-01 14:31:13 +02:00
Alexis LEBEL
5c7993f0d3
[DOCKERFILE] Now makes a container ! :)
2023-04-01 10:18:09 +02:00
Alexis LEBEL
b70bb41260
[DOCKER] Moved docker file to Root
2023-03-31 14:07:44 +02:00