Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <lewijacn@amazon.com>
  • Loading branch information
lewijacn committed Sep 18, 2024
1 parent 4d583b2 commit 3974232
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ COPY /webhook-trigger /webhook-trigger
COPY entrypoint.sh /webhook-trigger
WORKDIR /webhook-trigger

RUN python3 -m pip install --upgrade pipenv && pipenv install --deploy

# Setup venv for interactive access
RUN echo '. /.venv/bin/activate' >> /etc/profile.d/venv.sh
RUN echo '. /etc/profile.d/venv.sh' >> ~/.bashrc
# Set ENV to control startup script in /bin/sh mode
ENV ENV=/root/.bashrc
RUN python3 -m pip install --upgrade pipenv
RUN pipenv install --deploy

CMD ["./entrypoint.sh"]

0 comments on commit 3974232

Please sign in to comment.