Browse Source

Dockerised

master
Archie Baer 4 weeks ago
parent
commit
edff812f2d
3 changed files with 14 additions and 1 deletions
  1. 6
    0
      Dockerfile
  2. 7
    0
      docker-compose.yml
  3. 1
    1
      example/config.yml

+ 6
- 0
Dockerfile View File

@@ -0,0 +1,6 @@
FROM node:10
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
CMD [ "node", "app.js" ]

+ 7
- 0
docker-compose.yml View File

@@ -0,0 +1,7 @@
version: "3.4"

services:
blog:
build: .
ports:
- 8081:80

+ 1
- 1
example/config.yml View File

@@ -3,6 +3,6 @@ tagline: Startup Founder + Open-Sourcerer
links:
- url: https://twitter.com/archiebaer
icon: twitter
port: 8081
port: 80
postsOnHomepage: 50
password: "you'll need this when creating posts"

Loading…
Cancel
Save