-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (26 loc) · 690 Bytes
/
Dockerfile
File metadata and controls
34 lines (26 loc) · 690 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
30
31
32
33
34
FROM python:latest
WORKDIR /root
RUN apt-get update && apt-get install -y \
vim \
netcat \
git \
curl \
libcurl4-openssl-dev \
libpng-dev \
libonig-dev \
libxml2-dev
RUN pip3 install pycryptodome > /dev/null
RUN pip3 install mysql-connector-python > /dev/null
COPY entrypoint.sh /root/entrypoint.sh
RUN chmod +x /root/entrypoint.sh
COPY server.py /root/server.py
RUN chmod +rwx /root/server.py
COPY setupdb.py /root/setupdb.py
RUN chmod +rwx /root/setupdb.py
COPY appDev/ /root/appDev/
RUN chmod +rwx /root/appDev/
COPY webDev/ /root/webDev/
RUN chmod +rwx /root/webDev/
COPY sysAd/ /root/sysAd/
RUN chmod +rwx /root/sysAd/
CMD [ "bash", "entrypoint.sh" ]