1
0
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:
Eric Cornelissen
2020-12-04 17:14:17 +01:00
committed by GitHub
parent f3f226f6dc
commit 3528c3e4e6
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
# NodeJS
node_modules/ node_modules/
npm-debug.log
# Jekyll # Jekyll
_site/ _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 WORKDIR /simple-icons
COPY package*.json /simple-icons/ COPY package*.json /simple-icons/