1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-16 00:59:07 +02:00
simple-icons/Dockerfile
Eric Cornelissen 3528c3e4e6
Update Dockerfile (#4271)
* Use NodeJS base for Dockerfile

* Update .dockerignore for NodeJS files

* Make git available in Docker container

So that the container is more usable for development.
2020-12-04 17:14:17 +01:00

13 lines
190 B
Docker

FROM node:12-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"]