Skip to content

Commit

Permalink
use the whole git repository in the Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed May 21, 2024
1 parent d7a5114 commit b624c73
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ ARG BASE_IMAGE

ARG NANSAT_RELEASE

COPY utilities /tmp/utilities
COPY nansat /tmp/nansat
COPY setup.py /tmp/
WORKDIR /tmp
COPY . /tmp/nansat/
WORKDIR /tmp/nansat
RUN apt update \
&& apt install -y --no-install-recommends g++ \
&& pip install . \
&& rm -rf /tmp/{utilities,nansat,setup.py} \
&& rm -rf /tmp/nansat \
&& apt autoremove -y \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit b624c73

Please sign in to comment.