mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-02-11 19:51:07 +03: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:
parent
f3f226f6dc
commit
3528c3e4e6
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user