Dockerfile basics
This commit is contained in:
parent
325f1c4ed1
commit
6124b58289
1 changed files with 12 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue