Skip to content

Commit

Permalink
Revert "fix python template DockerFile "
Browse files Browse the repository at this point in the history
  • Loading branch information
GezimSejdiu authored Apr 14, 2021
1 parent 27bc56c commit 39d9ec5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions template/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ FROM bde2020/spark-submit:3.1.1-hadoop3.2

LABEL maintainer="Gezim Sejdiu <[email protected]>, Giannis Mouchakis <[email protected]>"

# Copy the source code
COPY . /app

COPY template.sh /

# Copy the requirements.txt first, for separate dependency resolving and downloading
COPY requirements.txt /app/
RUN cd /app \
ONBUILD COPY requirements.txt /app/
ONBUILD RUN cd /app \
&& pip3 install -r requirements.txt

# Copy the source code
ONBUILD COPY . /app

CMD ["/bin/bash", "/template.sh"]

0 comments on commit 39d9ec5

Please sign in to comment.