Start Neue Main
This commit is contained in:
20
Dev/sw_fw_scan_CSV/Dockerfile
Normal file
20
Dev/sw_fw_scan_CSV/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
# Hivatalos Python futtatókörnyezet használata alapként
|
||||
FROM python:3.11-slim
|
||||
|
||||
# Munkakönyvtár beállítása a konténerben
|
||||
WORKDIR /app
|
||||
|
||||
# A requirements.txt fájl másolása a konténerbe
|
||||
COPY requirements.txt .
|
||||
|
||||
# A requirements.txt-ben meghatározott csomagok telepítése
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# A Python script másolása a konténerbe
|
||||
COPY get_aruba_firmware.py .
|
||||
|
||||
# A config.json másolása a konténerbe
|
||||
COPY config.json .
|
||||
|
||||
# A script futtatása a konténer indításakor
|
||||
CMD ["python3", "get_aruba_firmware.py"]
|
||||
Reference in New Issue
Block a user