mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-16 00:59:07 +02:00
3528c3e4e6
* 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.
13 lines
190 B
Docker
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"]
|