We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a069230 + c712031 commit 3158296Copy full SHA for 3158296
Dockerfile
@@ -4,6 +4,8 @@
4
5
FROM python:3.12
6
7
+WORKDIR /app
8
+
9
COPY . .
10
11
RUN apt-get update && apt-get install -y --no-install-recommends build-essential libicu-dev python3-pip python3-venv pkg-config && rm -rf /var/lib/apt/lists/*
docker-compose.yml
@@ -0,0 +1,11 @@
1
+services:
2
+ pythainlp:
3
+ build: .
+ image: pythainlp:latest
+ volumes:
+ - .:/workspace
+ working_dir: /workspace
+ stdin_open: true
+ tty: true
+ environment:
+ - PYTHAINLP_DATA_DIR=/workspace/pythainlp-data
0 commit comments