You've already forked simple-icons
mirror of
https://github.com/simple-icons/simple-icons.git
synced 2025-09-16 08:26:31 +02:00
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.
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
|
# NodeJS
|
||||||
node_modules/
|
node_modules/
|
||||||
|
npm-debug.log
|
||||||
|
|
||||||
# Jekyll
|
# Jekyll
|
||||||
_site/
|
_site/
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
FROM alpine:3.12
|
FROM node:12-alpine
|
||||||
|
|
||||||
RUN apk add --update nodejs npm
|
RUN apk add --no-cache \
|
||||||
|
git
|
||||||
|
|
||||||
WORKDIR /simple-icons
|
WORKDIR /simple-icons
|
||||||
COPY package*.json /simple-icons/
|
COPY package*.json /simple-icons/
|
||||||
|
Reference in New Issue
Block a user