simple-icons/Dockerfile

13 lines
190 B
Docker
Raw Normal View History

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