Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Soontao committed Dec 1, 2024
1 parent 9104a1b commit 7aeb9c2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
FROM m.daocloud.io/node:lts-slim

ARG npm_config_registry=https://registry.npmjs.org/
ENV npm_config_registry=${npm_config_registry}

LABEL MAINTAINER=https://github.com/Soontao/RSSHub
ENV NODE_ENV=production
ENV TZ=Asia/Shanghai
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true

RUN ln -sf /bin/bash /bin/sh

WORKDIR /app

COPY .npmrc package.json package-lock.json /app/
RUN npm config set registry https://registry.npmmirror.com

COPY .npmrc package.json package-lock.json /app/
COPY packages /app/packages

RUN npm ci --include prod
Expand Down

0 comments on commit 7aeb9c2

Please sign in to comment.