Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
added dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
loosi committed Aug 14, 2017
1 parent 7805bf3 commit ecb4a08
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
################################################################################
# Base image
################################################################################

FROM node:boron

################################################################################
# Build instructions
################################################################################

RUN apt-get update && apt-get install -y \
imagemagick \
libimage-exiftool-perl

RUN npm install -g converjon
EXPOSE 8000
CMD [ "converjon", "--config /etc/converjon/config.yml" ]
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ If you want to prevent the fixed dependency versions of the ```npm-shrinkwrap.js

Conversion follows [Semantic Versioning](http://semver.org/).

Use Docker: `docker run -t -p 8000:8000 -v $(pwd)/config/default.yml:/etc/converjon/config.yml berlinonline/converjon:latest`

## Usage

Start the server with `converjon [--config your_config_file]` or use the command line utility `converjon-cli` to work on local files.
Expand Down

0 comments on commit ecb4a08

Please sign in to comment.