From b436beab4eba668b01a74a46ab59c83add3d6cd2 Mon Sep 17 00:00:00 2001 From: Jared Murrell Date: Fri, 27 Mar 2020 07:03:28 -0400 Subject: [PATCH] Update Dockerfile --- Dockerfile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index c0ba124..8edf7ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,12 @@ -FROM python:2 +FROM python:3-alpine LABEL version="0.9" LABEL description="LDAP Team Sync for GitHub" MAINTAINER GitHub Services -COPY . /opt/saml-ad-team-sync -WORKDIR /opt/saml-ad-team-sync - -RUN apt-get update && \ - apt-get -y install lib{ldap,sasl}2-dev && \ - apt-get clean && \ - rm -fr /var/lib/apt/lists/* +COPY . /opt/teamsync +WORKDIR /opt/teamsync RUN pip install --upgrade -r requirements.txt