-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (15 loc) · 781 Bytes
/
Dockerfile
File metadata and controls
21 lines (15 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.11-alpine
LABEL org.opencontainers.image.title="Collectress" \
org.opencontainers.image.description="This image runs the Collectress tool for feed data collection and processing." \
org.opencontainers.image.version="0.1.0" \
org.opencontainers.image.created="2023-07-27" \
org.opencontainers.image.source="https://github.com/stratosphereips/collectress" \
org.opencontainers.image.authors="Veronica Valeros <valerver@fel.cvut.cz>"
ENV DESTINATION_DIR /collectress
COPY requirements.txt ${DESTINATION_DIR}/
WORKDIR ${DESTINATION_DIR}
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt && \
rm -rf /root/.cache/pip
COPY . ${DESTINATION_DIR}/
CMD ["python","collectress.py"]