-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "fix python template DockerFile "
- Loading branch information
1 parent
27bc56c
commit 39d9ec5
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"] |