-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
42 lines (33 loc) · 919 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
38
39
40
41
42
FROM ubuntu:18.04
ARG DEBIAN_FRONTEND=noninteractive
RUN mkdir /opt/keops
COPY . /opt/keops
RUN echo "Europe/Madrid" > /etc/timezone
RUN apt-get update -q --fix-missing && \
apt-get -y upgrade && \
apt-get -y install tzdata \
php7.2 \
php7.2-pgsql \
php7.2-fpm \
php7.2-mbstring \
php7.2-memcached \
php7.2-memcache \
php7.2-zip \
memcached \
nginx \
ca-certificates \
python \
python-psycopg2 \
python-pip \
python3-pip \
postgresql-client \
sudo && \
apt-get autoremove -y && \
apt-get autoclean && \
pip3 install --upgrade pip &&\
pip3 install setuptools sqlalchemy alembic setuptools-rust bcrypt && \
pip3 install bcrypt
RUN /opt/keops/configure-keops.sh
EXPOSE 80
RUN rm -r /opt/keops/.git || :
CMD ./opt/keops/docker-entrypoint.sh