Commit ce6b7e14 authored by Balthazar Rouberol's avatar Balthazar Rouberol Committed by Benjamin Bouvier
Browse files

Feat: Add production dockerfile, running the kresus server

parent 99d42cd8
FROM node:4.4.4-slim
MAINTAINER Benjamin Bouvier <>
# Install system dependencies
RUN apt-get update -y && \
apt-get install -y python-weboob-core && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Setup project layout
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY build /usr/src/app/build
COPY bin /usr/src/app/bin
# Install app dependencies
COPY package.json package.json
RUN npm install --production
# Run server
CMD bin/kresus.js
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment