8000 docker file draft by andrewschmidt-a · Pull Request #112 · Postleaf/postleaf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

docker file draft #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:10
# Install GraphicsMagik
RUN apt-get update && apt-get install graphicsmagick -y
# this should be changed to not root
RUN npm -g config set user root
# Needed for sqlite install
RUN npm install -g npm-install-peers
COPY package.json .

RUN npm install
RUN npm i sqlite3

COPY . .

ENTRYPOINT [ "node", "app.js" ]
1 change: 1 addition & 0 deletions dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/*
0