Skip to content

Commit

Permalink
accept PEM file as build argument
Browse files Browse the repository at this point in the history
  • Loading branch information
singhalkarun authored Sep 12, 2024
1 parent 017967b commit c9097c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ WORKDIR /app
COPY ./requirements.txt /app
RUN pip install -r requirements.txt
COPY . .
COPY ./utils/repository_monitor_app_pk.pem /app/utils/
ARG REPOSITORY_MONITOR_APP_PK_PEM

RUN echo $REPOSITORY_MONITOR_APP_PK_PEM > /app/utils/repository_monitor_app_pk.pe

EXPOSE 5000
ENV FLASK_APP=app.py
CMD ["quart", "run", "--host", "0.0.0.0"]
CMD ["quart", "run", "--host", "0.0.0.0"]

0 comments on commit c9097c2

Please sign in to comment.