Commit 62bc9ad4 authored by nanahira's avatar nanahira

fix

parent 40702599
Pipeline #205 passed with stages
in 1 minute and 43 seconds
......@@ -2,9 +2,9 @@ FROM node:buster-slim
RUN apt update && apt -y install cron python3 && rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/app
COPY ./package*.json ./
RUN npm ci && \
npm run build
RUN npm ci
COPY . ./
RUN npm run build
RUN echo '0 */4 * * * bash -c "cd /usr/src/app && npm run fetch"' > /etc/cron.d/tx3 && \
crontab /etc/cron.d/tx3
......
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