mirror-to-gitea/Dockerfile

13 lines
185 B
Docker

FROM node:lts-alpine
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY docker-entrypoint.sh .
COPY src ./src
RUN npm run build
CMD [ "/app/docker-entrypoint.sh" ]