Dockerfile basics

This commit is contained in:
Piotr Dec 2025-04-28 14:26:55 +02:00
parent 325f1c4ed1
commit 6124b58289
No known key found for this signature in database
GPG key ID: D3B5A5D0150D147A

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM python:3.10-alpine3.21
LABEL authors="stawros"
RUN mkdir /app
COPY slack-exporter/requirements.txt /app/
COPY slack-exporter/exporter.py /app/
RUN pip3 uninstall urllib3
RUN pip3 install -r /app/requirements.txt
CMD ["python3", "/app/exporter.py"]