-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
36 lines (29 loc) · 837 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
FROM ubuntu:18.04
MAINTAINER togglecorp info@togglecorp.com
ENV PYTHONUNBUFFERED 1
ENV PYTHON3 /usr/local/bin/python3
ENV PIP3 /usr/local/bin/pip3
WORKDIR /code
# Update and install common packages with apt
RUN apt-get update -y && apt-get install -y \
# Basic Packages
git \
locales \
vim \
curl \
gnupg \
apt-transport-https \
ca-certificates \
cron \
unzip \
python3 \
python3-dev \
python3-setuptools \
python3-pip \
# For osmium
libosmium2-dev libprotozero-dev rapidjson-dev libboost-program-options-dev \
libbz2-dev zlib1g-dev libexpat1-dev cmake pandoc
COPY ./requirements.txt /code/requirements.txt
RUN pip3 install -r requirements.txt
COPY . /code/
# CMD ./deploy/scripts/prod_exec.sh