-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
38 lines (26 loc) · 932 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
############################################################
# Dockerfile to build grrmanager
# Based on Ubuntu
############################################################
# Set the base image to Ubuntu
FROM ubuntu
# File Author / Maintainer
MAINTAINER Kevin Law
# Update the sources list
RUN apt-get update
# Install basic applications
RUN apt-get install -y build-essential net-tools git vim curl wget tar
# Install Python and Basic Python Tools
RUN apt-get install -y python python-dev python-distribute python-pip
# Copy the application folder inside the container
ADD . /grrmanager
# Get pip to download and install requirements:
RUN pip install -r /grrmanager/requirements.txt
# Expose ports
EXPOSE 5000
# Set the default directory where CMD will execute
WORKDIR /grrmanager
# Set the default command to execute
# when creating a new container
# i.e. using CherryPy to serve the application
CMD python run.py