Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 610 Bytes
FROM janitortechnology/ubuntu-dev
MAINTAINER Jan Keromnes ""
# Download Janitor's source code and install its dependencies.
RUN git clone --recursive /home/user/janitor \
&& cd /home/user/janitor \
&& npm install
WORKDIR /home/user/janitor
# Add Janitor database with default values for local development.
ADD db.json /home/user/janitor/
RUN sudo chown user:user /home/user/janitor/db.json
# Configure the IDEs to use Janitor's source directory as workspace.
ENV WORKSPACE /home/user/janitor/
# Expose all Janitor server ports.
EXPOSE 8080 8081