Tweak, add CI
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Rune Juhl Jacobsen 2023-02-19 19:56:06 +01:00
parent 0af95a105b
commit dddd7392b2
3 changed files with 18 additions and 2 deletions

View file

@ -21,7 +21,6 @@ RUN pip --disable-pip-version-check install --no-cache-dir -r /requirements.txt
# Set up app
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY grafana_webhook_to_matrix.py ./
# Set up user
RUN mkdir -p /usr/src/app/home && \
@ -32,4 +31,7 @@ ENV PYTHONFAULTHANDLER=1
USER 998
EXPOSE 8003
COPY grafana_webhook_to_matrix.py ./
CMD ["python3", "grafana_webhook_to_matrix.py"]