Add Dockerfile and docker-compose for easy deployment
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY server.py .
|
||||
|
||||
CMD ["python", "server.py"]
|
||||
7
docker-compose.yml
Normal file
7
docker-compose.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
services:
|
||||
planka-mcp:
|
||||
build: .
|
||||
environment:
|
||||
- PLANKA_URL=${PLANKA_URL:-http://localhost:3000}
|
||||
- PLANKA_TOKEN=${PLANKA_TOKEN}
|
||||
restart: always
|
||||
Reference in New Issue
Block a user