Skip to content

Commit 185411b

Browse files
committed
Initial commit
1 parent 95df99e commit 185411b

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# IDE
2+
.idea
3+
.vscode
4+
5+
# Mac OS
6+
.DS_Store
7+
18
# Logs
29
logs
310
*.log

Dockerfile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Setting the base to nodejs 8.0.0
2+
FROM node:8.0.0-slim
3+
4+
# Maintainer
5+
MAINTAINER Geir Gåsodden
6+
7+
# Adds backports
8+
RUN awk '$1 ~ "^deb" { $3 = $3 "-backports"; print; exit }' /etc/apt/sources.list > /etc/apt/sources.list.d/backports.list
9+
10+
# Installs git and unoconv
11+
RUN apt-get update
12+
13+
RUN DEBIAN_FRONTEND=noninteractive apt-get -t jessie-backports install -y git unoconv && apt-get clean
14+
15+
ENTRYPOINT /usr/bin/unoconv --listener --server=0.0.0.0 --port=2002

0 commit comments

Comments
 (0)