mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* Updated package.json to support node 18 * Updated package-lock.json with force install * Updated frontend package.json * Updated server package.json * update frontend package-lock.json * update render dockerfile * update dockerfiles for node 18 * update node version in actions * fix setup script for AMI * install using nvm * debug * source bashrc * change ami os version * change base ami * make use of ubuntu focal lts version * update script * change branch name * revert branch name * update workflow * node upgrade [plugins] modules updated (#5482) * modules updated * adds saphana and oracle package * adds saphana and oracle package * eslint rules for -unresolved and resolved properties --------- Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: Arpit <arpitnath42@gmail.com>
27 lines
589 B
Text
27 lines
589 B
Text
# pull official base image
|
|
FROM node:18.3.0-buster
|
|
|
|
ENV NODE_ENV=development
|
|
|
|
RUN npm i -g npm@7.20.0
|
|
|
|
# set working directory
|
|
WORKDIR /app
|
|
|
|
COPY ./package.json ./package.json
|
|
|
|
# add `/app/frontend/node_modules/.bin` to $PATH
|
|
ENV PATH /app/frontend/node_modules/.bin:$PATH
|
|
|
|
# Fix for heap limit allocation issue
|
|
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
|
|
|
# install app dependencies
|
|
COPY ./frontend/package.json ./frontend/package-lock.json ./frontend/
|
|
RUN npm --prefix frontend install
|
|
COPY ./frontend/ ./frontend/
|
|
|
|
# start app
|
|
CMD ["npm", "--prefix", "frontend", "start"]
|
|
|
|
EXPOSE 8082
|