mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-18 03:14:11 +03: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"]
|