-
-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (15 loc) · 585 Bytes
/
Dockerfile
File metadata and controls
21 lines (15 loc) · 585 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Use the official Python image as the base image
FROM python:3
# Set the working directory in the container
WORKDIR /app
# Copy the local requirements.txt file to the container at /app
COPY requirements.txt /app/
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
# Install the dependencies from requirements.txt
RUN pip3 install -r requirements.txt
# Copy the local code to the container at /app
COPY . /app/
# Install the Python package (assuming it contains a setup.py file)
RUN pip3 install .
# Run hawk_Scanner from python3 main.py
ENTRYPOINT ["hawk_scanner"]