From 81b1179277de4eb3910485d6f8f038bc451d8e36 Mon Sep 17 00:00:00 2001 From: "a.k.a Daniel" <50470310+oppsec@users.noreply.github.com> Date: Tue, 19 Jul 2022 15:40:35 -0300 Subject: [PATCH] dev: updated Dockerfile structure --- Dockerfile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a405470..dc34bc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,16 @@ -# Install alpine, python3 and pip -FROM alpine:latest +FROM python:3.8-slim LABEL maintainer="oppsec " -RUN apk add --no-cache python3 py3-pip -# Create directories +ENV LANG=C.UTF-8 +ENV LC_ALL=C.UTF-8 +ENV PIP_NO_CACHE_DIR=off + WORKDIR /tomcter + +RUN apt-get update && \ + apt-get install -y openssl python3 git apt-utils + +# Create directories COPY . . # Install libraries and run