docker + compose + redis
This commit is contained in:
1 parent
c564d05de5
commit
6db0ba2e0d
6 files changed
+334
-310
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
FROM python:3.11-alpine
|
||||
|
||||
RUN apk add --no-cache build-base libffi-dev
|
||||
RUN pip install poetry
|
||||
|
||||
WORKDIR /mnt
|
||||
COPY pyproject.toml poetry.lock .
|
||||
RUN poetry install --no-root --only main
|
||||
|
||||
COPY . .
|
||||
ENTRYPOINT ["poetry", "run", "python", "discollama.py"]
|
||||
Reference in new issue
Block a user