Container fix
This commit is contained in:
parent
ed7ac078f9
commit
2976862362
2 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||||
# Install build-time system dependencies like gcc.
|
# Install build-time system dependencies like gcc.
|
||||||
# 'build-base' is a meta-package on Alpine that includes gcc, g++, make, and other essentials.
|
# 'build-base' is a meta-package on Alpine that includes gcc, g++, make, and other essentials.
|
||||||
# We use --no-cache to avoid storing the package index, keeping the layer smaller.
|
# We use --no-cache to avoid storing the package index, keeping the layer smaller.
|
||||||
RUN apk add --no-cache build-base libaio-dev linux-headers
|
RUN apk add --no-cache build-base linux-headers
|
||||||
|
|
||||||
# Install Poetry
|
# Install Poetry
|
||||||
RUN pip install poetry
|
RUN pip install poetry
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
services:
|
services:
|
||||||
bot:
|
bot:
|
||||||
image:
|
build:
|
||||||
build: .
|
dockerfile: Containerfile
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue