From 7971a798ec3ebf2d4d2451c32bf94db3dedfaf24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=9D=BE=5FTuuu?= Date: Wed, 16 Jan 2019 17:40:27 +0800 Subject: [PATCH] :bug: fixed request[security] depends and modify docker-compose version --- Dockerfile | 2 +- docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index eba3178..a852720 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ MAINTAINER Tuuu Nya RUN sed -i s/archive.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list RUN sed -i s/security.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list RUN apt-get update -RUN apt-get install -y python3 python3-dev python3-pip nginx supervisor libmysqlclient-dev redis-server && \ +RUN apt-get install -y python3 python3-dev python3-pip nginx supervisor libmysqlclient-dev redis-server libssl-dev libffi-dev && \ rm -rf /var/lib/apt/lists/* # setup all the configfiles diff --git a/docker-compose.yaml b/docker-compose.yaml index 866f3e0..486d4d7 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,4 +1,4 @@ -version: "3" +version: "2" services: web: build: .