Compare commits

...
3 Commits
Author SHA1 Message Date
marc eb2f677a0f branches ignore
Docker / build (push) Canceled after 0s
Docker / test-python-versions (macos-latest, 3.10) (push) Canceled after 0s
Docker / test-python-versions (macos-latest, 3.8) (push) Canceled after 0s
Docker / test-python-versions (macos-latest, 3.9) (push) Canceled after 0s
Docker / test-python-versions (ubuntu-latest, 3.10) (push) Canceled after 0s
Docker / test-python-versions (ubuntu-latest, 3.8) (push) Canceled after 0s
Docker / test-python-versions (ubuntu-latest, 3.9) (push) Canceled after 0s
Docker / test-python-versions (windows-latest, 3.10) (push) Canceled after 0s
Docker / test-python-versions (windows-latest, 3.8) (push) Canceled after 0s
Docker / test-python-versions (windows-latest, 3.9) (push) Canceled after 0s
2024-06-18 01:05:29 +02:00
marc 533eba17d2 requirements 2024-06-18 01:03:49 +02:00
marc 7d7a68bc38 no duplicate 2024-06-18 00:58:09 +02:00
3 changed files with 1197 additions and 927 deletions
+2 -3
View File
@@ -2,9 +2,8 @@ name: Docker
on:
push:
branches:
- !master
- *
branches-ignore:
- master
env:
IMAGE_NAME: discord-bot
-29
View File
@@ -26,35 +26,6 @@ HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD curl
ENTRYPOINT ["python", "__main__.py"]
FROM python:3.8.13-alpine as alpine
LABEL maintainer="marc.partensky@proton.me"
LABEL image="https://hub.docker.com/r/marcpartensky/discord-bot"
LABEL source="https://github.com/marcpartensky/discord-bot"
RUN apk update
RUN apk add ffmpeg git gcc g++ gfortran musl musl-dev build-base cmake openblas pkgconfig
# RUN apk add ffmpeg git py3-scikit-learn
COPY requirements.txt ./
RUN pip install -U pip
RUN pip install -r requirements.txt
WORKDIR /app
COPY ./tts tts
COPY ./libs libs
COPY ./assets assets
COPY ./utils utils
COPY ./config config
COPY ./models models
COPY ./cogs cogs
COPY __main__.py LICENSE ./
ENV DISCORD_BOT_HOST 0.0.0.0
ENV DISCORD_BOT_PORT 8000
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD curl -f http://localhost:8000/live || exit 1
ENTRYPOINT ["python", "__main__.py"]
FROM python:3.8.13-alpine as alpine
LABEL maintainer="marc.partensky@proton.me"
LABEL image="https://hub.docker.com/r/marcpartensky/discord-bot"
+1195 -895
View File
File diff suppressed because it is too large Load Diff