1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-16 00:59:07 +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:
Eric Cornelissen 2020-12-04 17:14:17 +01:00 committed by GitHub
parent f3f226f6dc
commit 3528c3e4e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,6 @@
# NodeJS
node_modules/
npm-debug.log
# Jekyll
_site/

View File

@ -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
COPY package*.json /simple-icons/