Merge pull request #1555 from nfsec/patch-1

One RUN layer less
pull/1558/head
Siddharth Dushantha 2 years ago committed by GitHub
commit a16f6315e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,11 +1,10 @@
FROM python:3.7-slim-bullseye as build
WORKDIR /wheels
RUN apt-get update && apt-get install -y build-essential
COPY requirements.txt /opt/sherlock/
RUN pip3 wheel -r /opt/sherlock/requirements.txt
RUN apt-get update \
&& apt-get install -y build-essential \
&& pip3 wheel -r /opt/sherlock/requirements.txt
FROM python:3.7-slim-bullseye
WORKDIR /opt/sherlock

Loading…
Cancel
Save