Browse Source

bunyan and nginx

sungo 11 months ago
parent
commit
ede348e7b1
2 changed files with 14 additions and 0 deletions
  1. 11 0
      bunyan/Dockerfile
  2. 3 0
      nginx/Dockerfile

+ 11 - 0
bunyan/Dockerfile

@@ -0,0 +1,11 @@
+FROM node:8-alpine
+RUN apk add --no-cache --update python make
+
+USER node
+RUN mkdir /home/node/.npm-global
+ENV PATH=/home/node/.npm-global/bin:$PATH
+ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
+
+RUN npm install --no-progress -g bunyan
+RUN npm cache clean --force
+ENTRYPOINT [ "bunyan" ]

+ 3 - 0
nginx/Dockerfile

@@ -0,0 +1,3 @@
+FROM ubuntu:bionic
+RUN apt update && apt install -y nginx
+ENTRYPOINT [ "sh" ]