1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-26 01:13:41 +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"]