-
Notifications
You must be signed in to change notification settings - Fork 10
/
Dockerfile
37 lines (30 loc) · 785 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
37
FROM python:3.6-alpine
WORKDIR /app
RUN apk add --update --no-cache \
libpq \
postgresql-dev \
libffi \
libffi-dev \
bash \
curl \
libstdc++ \
nodejs \
&& apk --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --update add \
leveldb \
leveldb-dev
COPY requirements.txt .
RUN apk add --update --no-cache --virtual=build-dependencies \
build-base \
git \
nodejs-npm \
&& pip install -r requirements.txt \
&& npm install -g [email protected] \
&& apk del build-dependencies \
&& rm -rf /var/cache/apk/*
COPY config.yml config.yml
COPY docker/startup.sh /startup.sh
COPY docker/docker-entrypoint.sh /entrypoint.sh
COPY conductor conductor
EXPOSE 8000
CMD ["/startup.sh"]
ENTRYPOINT ["/entrypoint.sh"]