simple-icons/Dockerfile

13 lines
206 B
Docker
Raw Normal View History

FROM node:20-alpine
RUN apk add --no-cache \
git
WORKDIR /simple-icons
COPY package.json /simple-icons/
RUN npm install --ignore-scripts
COPY . .
ENTRYPOINT ["npm", "run", "svgo", "--", "/image.svg"]