Commit 86350f36 authored by nanahira's avatar nanahira

bump ppt and put back to root

parent 508f9c34
Pipeline #20162 passed with stages
in 7 minutes and 56 seconds
...@@ -4,10 +4,8 @@ LABEL Author="Nanahira <nanahira@momobako.com>" ...@@ -4,10 +4,8 @@ LABEL Author="Nanahira <nanahira@momobako.com>"
RUN apt update && \ RUN apt update && \
apt -y install python3 build-essential git chromium libnss3 libfreetype6-dev libharfbuzz-bin libharfbuzz-dev ca-certificates fonts-freefont-otf fonts-freefont-ttf fonts-noto-cjk fonts-noto-cjk-extra fonts-wqy-microhei fonts-wqy-zenhei && \ apt -y install python3 build-essential git chromium libnss3 libfreetype6-dev libharfbuzz-bin libharfbuzz-dev ca-certificates fonts-freefont-otf fonts-freefont-ttf fonts-noto-cjk fonts-noto-cjk-extra fonts-wqy-microhei fonts-wqy-zenhei && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/*
RUN useradd -d /app -m -s /bin/bash koishi
USER koishi
WORKDIR /app WORKDIR /app
COPY --chown=koishi:koishi ./package*.json ./ COPY ./package*.json ./
FROM base as builder FROM base as builder
RUN npm ci && npm cache clean --force RUN npm ci && npm cache clean --force
...@@ -18,7 +16,7 @@ FROM base ...@@ -18,7 +16,7 @@ FROM base
ENV NODE_ENV production ENV NODE_ENV production
RUN npm ci && npm cache clean --force RUN npm ci && npm cache clean --force
COPY --from=builder /app/dist ./dist COPY --from=builder /app/dist ./dist
COPY --chown=koishi:koishi ./docker ./docker COPY ./docker ./docker
ENTRYPOINT [ "./docker/entrypoint.sh" ] ENTRYPOINT [ "./docker/entrypoint.sh" ]
CMD [ "npm", "start" ] CMD [ "npm", "start" ]
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"dependencies": { "dependencies": {
"@koishijs/loader": "^2.5.0", "@koishijs/loader": "^2.5.0",
"koishi": "^4.11.6", "koishi": "^4.11.6",
"koishi-plugin-puppeteer": "^3.4.1", "koishi-plugin-puppeteer": "^3.4.5",
"load-json-file": "^6.2.0", "load-json-file": "^6.2.0",
"ws": "^8.2.3", "ws": "^8.2.3",
"yaml": "^1.10.2" "yaml": "^1.10.2"
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
"dependencies": { "dependencies": {
"@koishijs/loader": "^2.5.0", "@koishijs/loader": "^2.5.0",
"koishi": "^4.11.6", "koishi": "^4.11.6",
"koishi-plugin-puppeteer": "^3.4.1", "koishi-plugin-puppeteer": "^3.4.5",
"load-json-file": "^6.2.0", "load-json-file": "^6.2.0",
"ws": "^8.2.3", "ws": "^8.2.3",
"yaml": "^1.10.2" "yaml": "^1.10.2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment