feat: add docker
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
FROM python:3.11-slim
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY . /app/
|
||||||
|
|
||||||
|
RUN pip install --no-cache-dir poetry==1.8.5 && \
|
||||||
|
poetry install --no-interaction --no-dev
|
||||||
|
|
||||||
|
CMD ["sh", "-c", "poetry run ppgee $USERNAME $PASSWORD"]
|
||||||
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
ppgee:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
environment:
|
||||||
|
- USERNAME=00011122233
|
||||||
|
- PASSWORD=00011122233
|
||||||
Reference in New Issue
Block a user