mirror of
https://github.com/cve-search/cpe-guesser.git
synced 2024-11-14 19:08:27 +00:00
18 lines
No EOL
303 B
Docker
18 lines
No EOL
303 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM python:3.8-slim-buster
|
|
|
|
WORKDIR /app
|
|
|
|
COPY REQUIREMENTS REQUIREMENTS
|
|
RUN pip3 install -r REQUIREMENTS
|
|
|
|
COPY bin bin
|
|
COPY etc /etc
|
|
COPY lib lib
|
|
COPY docker/entrypoint.sh entrypoint.sh
|
|
|
|
RUN mkdir /app/config
|
|
RUN chmod u+x entrypoint.sh
|
|
|
|
ENTRYPOINT ["/app/entrypoint.sh"] |