Skip to content

Commit

Permalink
dev: updated Dockerfile structure
Browse files Browse the repository at this point in the history
  • Loading branch information
oppsec authored Jul 19, 2022
1 parent 361025b commit 81b1179
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Install alpine, python3 and pip
FROM alpine:latest
FROM python:3.8-slim
LABEL maintainer="oppsec <https://github.com/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
Expand Down

0 comments on commit 81b1179

Please sign in to comment.