This website requires JavaScript.
Explore
Help
Register
Sign In
web
/
simple-icons
Watch
1
Star
0
Fork
0
You've already forked simple-icons
mirror of
https://github.com/simple-icons/simple-icons.git
synced
2024-12-26 01:13:41 +02:00
Code
Releases
Activity
fce6a0a5ea
simple-icons
/
.dockerignore
8 lines
73 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 18:14:17 +02:00
# NodeJS
Add a SVGO Docker image for Simpleicons formatting (#1532) * Add a SVGO Docker image * Update Dockerfile and .dockerignore Update the Dockerfile to create a docker image that is generally applicable to run NPM commands, including but not limited to: - npm run test - npm run svgo - npm run lint Also updated the .dockerignore file to exclude: - The node_modules folder - Common Jekyll folders/files - Files generated by the build script The reason for choosing the alpine docker image (rather than a node docker image) is that the CLI out of the box is better. * Add section on using Docker to Contributing Guidelines * Readd entrypoint for SVGO optimization to Dockerfile Update the Dockerfile based on the original work in 32993385daad3a66d6a2f8094c1dde5c33d2a03b by re-adding an ENTRYPOINT to the Dockerfile. This ENTRYPOINT makes it extremely easy to spin up a quick Docker container to optimize a single SVG (much simpler than my copy-in -> optimize -> copy-out approach). The description for how to use the Docker image to run other NPM scripts has been updated accordingly. The provided command overrides the above ENTRYPOINT by simple starting a shell so the user can interact with the project. Co-authored-by: Eric Cornelisesn <ericornelissen@gmail.com>
2020-06-09 12:49:55 +02:00
node_modules/
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 18:14:17 +02:00
npm-debug.log
Add a SVGO Docker image for Simpleicons formatting (#1532) * Add a SVGO Docker image * Update Dockerfile and .dockerignore Update the Dockerfile to create a docker image that is generally applicable to run NPM commands, including but not limited to: - npm run test - npm run svgo - npm run lint Also updated the .dockerignore file to exclude: - The node_modules folder - Common Jekyll folders/files - Files generated by the build script The reason for choosing the alpine docker image (rather than a node docker image) is that the CLI out of the box is better. * Add section on using Docker to Contributing Guidelines * Readd entrypoint for SVGO optimization to Dockerfile Update the Dockerfile based on the original work in 32993385daad3a66d6a2f8094c1dde5c33d2a03b by re-adding an ENTRYPOINT to the Dockerfile. This ENTRYPOINT makes it extremely easy to spin up a quick Docker container to optimize a single SVG (much simpler than my copy-in -> optimize -> copy-out approach). The description for how to use the Docker image to run other NPM scripts has been updated accordingly. The provided command overrides the above ENTRYPOINT by simple starting a shell so the user can interact with the project. Co-authored-by: Eric Cornelisesn <ericornelissen@gmail.com>
2020-06-09 12:49:55 +02:00
# Build files
icons/*.js
/index.js
Copy Permalink