diff --git a/Dockerfile b/Dockerfile index 896920f..10bf95b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,7 @@ -FROM python:3.11-alpine +FROM python:3.11-slim COPY requirements.txt requirements.txt -RUN apk add --no-cache gcc g++ \ - && python -m pip install --no-cache-dir -r requirements.txt \ - && rm -rf /tmp/* /root/.cache /var/cache/apk/* +RUN python -m pip install --no-cache-dir -r requirements.txt COPY . /app WORKDIR /app EXPOSE 8000 diff --git a/frontend/package.json b/frontend/package.json index 55a2543..f351469 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,6 +11,7 @@ "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", "@vueuse/core": "^10.9.0", + "lunar-javascript": "^1.6.12", "markdown-it": "^14.1.0", "naive-ui": "2.38.1", "vooks": "^0.2.12", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 7c7f901..63c5b9f 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -14,6 +14,9 @@ importers: '@vueuse/core': specifier: ^10.9.0 version: 10.9.0(vue@3.4.25) + lunar-javascript: + specifier: ^1.6.12 + version: 1.6.12 markdown-it: specifier: ^14.1.0 version: 14.1.0 @@ -1525,6 +1528,9 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + lunar-javascript@1.6.12: + resolution: {integrity: sha512-8BIYt50up4B2ihh0O1MCUh7+y6hDiDRIPp0ubP8KKaA7cIgAi4jD3QvM9OdZj0QNhSvopZPKipLt2Eb9+cLhxw==} + magic-string@0.25.9: resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} @@ -3621,6 +3627,8 @@ snapshots: dependencies: yallist: 3.1.1 + lunar-javascript@1.6.12: {} + magic-string@0.25.9: dependencies: sourcemap-codec: 1.4.8 diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 1f1a891..34c6374 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,7 +1,7 @@