mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* started working on node upgrade to 18.18.2 * testing ci * updated ci node version * updated action code * deleted all package-lock.json files * deleted and ovverrided some packages * deleted and fixed server & frontend vulnerabilities * updated firestore version * fix: ws type issue * fix: upgraded lerna version * regenerated package-lock.json files again * regenerated marketplace lock file * updated node version in other ci and docker files * update: lock file plugin side * updated the npm version in docker & ci files * removed unused imports from events file * removed dependency-review action * updated some packages * tried to go with current node-module of jest. had to upgrade * fix: deprecated function usage - ts-jest * fix: server directory lint issues * fixed login page issue after router-dom upgrade * updated import/no-unresolved rule to ignore import errors of react-loading-skeleton, react-spring packages * fix: cypress node version & package-lock issue * regenerated cli package-lock.json * fix: new webpack version might cause runtime issues (had issues with enterprise). lets use old version only * fix: form-data docker issue * removed comment
33 lines
1.6 KiB
Text
33 lines
1.6 KiB
Text
# pull official base image
|
|
FROM node:18.18.2-buster
|
|
RUN apt-get update && apt-get install -y postgresql-client freetds-dev libaio1 wget
|
|
|
|
# Install Instantclient Basic Light Oracle and Dependencies
|
|
WORKDIR /opt/oracle
|
|
RUN wget https://tooljet-plugins-production.s3.us-east-2.amazonaws.com/marketplace-assets/oracledb/instantclients/instantclient-basiclite-linuxx64.zip && \
|
|
wget https://tooljet-plugins-production.s3.us-east-2.amazonaws.com/marketplace-assets/oracledb/instantclients/instantclient-basiclite-linux.x64-11.2.0.4.0.zip && \
|
|
unzip instantclient-basiclite-linuxx64.zip && rm -f instantclient-basiclite-linuxx64.zip && \
|
|
unzip instantclient-basiclite-linux.x64-11.2.0.4.0.zip && rm -f instantclient-basiclite-linux.x64-11.2.0.4.0.zip && \
|
|
cd /opt/oracle/instantclient_21_10 && rm -f *jdbc* *occi* *mysql* *mql1* *ipc1* *jar uidrvci genezi adrci && \
|
|
cd /opt/oracle/instantclient_11_2 && rm -f *jdbc* *occi* *mysql* *mql1* *ipc1* *jar uidrvci genezi adrci && \
|
|
echo /opt/oracle/instantclient* > /etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig
|
|
# Set the Instant Client library paths
|
|
ENV LD_LIBRARY_PATH="/opt/oracle/instantclient_11_2:/opt/oracle/instantclient_21_10:${LD_LIBRARY_PATH}"
|
|
|
|
WORKDIR /
|
|
|
|
ENV NODE_ENV=development
|
|
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
|
|
|
RUN npm i -g npm@9.8.1
|
|
RUN mkdir -p /app
|
|
WORKDIR /app
|
|
|
|
COPY ./package.json ./package.json
|
|
|
|
# install app dependencies
|
|
COPY ./server/package.json ./server/package-lock.json ./server/
|
|
RUN npm --prefix server install
|
|
COPY ./server/ ./server/
|
|
|
|
ENTRYPOINT ["./server/entrypoint.sh"]
|