Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ ARG layer_location

WORKDIR /$layer_location

# install gcc; needed by some packages
RUN yum install gcc -y

# requirements is in CWD because we've mounted the layer directory into the container
# local_path_to_site_packages is relative to the layer directory
ENTRYPOINT pip install \
--target=$local_path_to_site_packages \
-r requirements.txt
-r requirements.txt