mirror of
https://github.com/bcye/structured-wikivoyage-exports.git
synced 2025-09-18 19:04:48 +00:00
add dockerfile and document
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -1,12 +1,10 @@
|
||||
FROM node:22
|
||||
FROM ghcr.io/astral-sh/uv:debian
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
COPY package-lock.json .
|
||||
COPY pyproject.toml uv.lock ./
|
||||
RUN uv sync --frozen
|
||||
|
||||
RUN npm install
|
||||
COPY . .
|
||||
|
||||
COPY index.ts .
|
||||
|
||||
CMD [ "node", "--max-old-space-size=4096", "--experimental-strip-types", "index.ts" ]
|
||||
CMD ["uv", "run", "transform-documents.py"]
|
Reference in New Issue
Block a user