-
-
Notifications
You must be signed in to change notification settings - Fork 342
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (20 loc) · 637 Bytes
/
Dockerfile
File metadata and controls
29 lines (20 loc) · 637 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM postgres:12.12
LABEL authors="Ajin Abraham <ajin25@gmail.com>" \
description="nodejsscan is a static security code scanner for Node.js applications."
ENV POSTGRES_USER root
ENV POSTGRES_PASSWORD root
ENV POSTGRES_DB nodejsscan
WORKDIR /usr/src/nodejsscan
COPY requirements.txt .
RUN apt update -y && apt install -y \
git \
python3.9 \
python3-pip && \
apt clean && \
apt autoclean && \
apt autoremove -y && \
rm -rf /var/lib/apt/lists/* /tmp/* > /dev/null 2>&1
RUN pip3 install --upgrade pip && pip3 install --quiet --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 9090
CMD ["sh","entrypoint.sh"]