From 24dd56ecdc7a06f4606c0d25775e1aae10178b6f Mon Sep 17 00:00:00 2001 From: Amanda Muniz Date: Tue, 23 Mar 2021 16:08:10 -0300 Subject: [PATCH] FIX Changing Dockerfile to fix django import' --- docker/Dockerfile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index dd3efcb2..874fb56f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,16 +1,8 @@ -FROM debian:buster-slim +FROM python:3 +ENV PYTHONUNBUFFERED=1 EXPOSE 8000 -RUN apt-get update && apt-get install -y --no-install-recommends \ - python3 \ - python3-pip \ - python3-crypto \ - python3-pyodbc \ - python3-setuptools - -RUN pip3 install --no-cache-dir toolz - RUN mkdir src COPY src/ src/ @@ -19,5 +11,4 @@ COPY requirements.txt requirements.txt COPY runserver.sh runserver.sh -RUN pip3 install -r requirements.txt - +RUN pip3 install -r requirements.txt \ No newline at end of file