Skip to content

Commit

Permalink
Create Dockerfile-NewRelic
Browse files Browse the repository at this point in the history
  • Loading branch information
chevvak2 authored Nov 20, 2024
1 parent f8aa8cc commit 29277d6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile-NewRelic
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3.9-buster

ENV PYTHONUNBUFFERED=1
WORKDIR /ars
RUN apt-get update && apt install -y netcat
RUN pip install --no-cache-dir newrelic
RUN newrelic-admin generate-config NewRelic_KEY newrelic.ini

COPY requirements.txt /ars/
RUN pip install -r requirements.txt
COPY . /ars/
RUN mv wait-for /bin/wait-for

0 comments on commit 29277d6

Please sign in to comment.