-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (19 loc) · 784 Bytes
/
Dockerfile
File metadata and controls
25 lines (19 loc) · 784 Bytes
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
############################################################
# Dockerfile to build Python WSGI Application Containers
# Based on Ubuntu
############################################################
FROM ubuntu
MAINTAINER Gareth Ferneyhough
# Add the application resources URL
RUN echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -sc) main universe" >> /etc/apt/sources.list
# Update the sources list
RUN apt-get update
# Install basic applications
RUN apt-get install -y tar git curl nano wget dialog net-tools build-essential
# Install Python and Basic Python Tools
RUN apt-get install -y python python-dev python-distribute python-pip
ADD jobs-economy /jobs-economy
RUN pip install -r /jobs-economy/requirements.txt
EXPOSE 8080
WORKDIR /jobs-economy
CMD python run.py