forked from jortilles/EDA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (24 loc) · 1.54 KB
/
Dockerfile
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 node:12.22.0-buster
# instalar
ENV DEBIAN_FRONTEND noninteractive
# Install mongodb
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget git curl apt-transport-https ca-certificates apt-utils gnupg build-essential apache2 libaio1
RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -
RUN echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list
RUN apt-get update
RUN apt-get install -y mongodb-org=4.2.1 mongodb-org-server=4.2.1 mongodb-org-shell=4.2.1 mongodb-org-mongos=4.2.1 mongodb-org-tools=4.2.1
#Dependencias de chronium para el envio por correo
RUN apt-get install -y ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils
# libreria de oracle
RUN echo " "
RUN echo " la ubicacion de oracle sera /eda/oracle/instantclient "
RUN echo " "
RUN echo "export LD_LIBRARY_PATH=/eda/oracle/instantclient" >/root/.bashrc
RUN echo n | npm install -g --silent @angular/cli
RUN npm install -g forever forever-monitor nodemon http-server
RUN npm install -g --unsafe-perm puppeteer
COPY /eda /eda
RUN chmod u+x /eda/docker_run.sh
# entrypoint
ENTRYPOINT /eda/docker_run.sh