ToolJet / dockerfile
sitong608's picture
Update dockerfile
3b099c3
# Step 2: Install dependencies
RUN apt-get update \
&& apt-get install -y git python3 python3-pip npm
# Step 3: Install ToolJet dependencies
RUN pip3 install -U pip
RUN pip3 install tooljet
# Step 4: Copy ToolJet project files into the Docker image
COPY . /app
# Step 5: Set the working directory
WORKDIR /app
# Step 6: Expose the relevant port
EXPOSE 3000
# Step 7: Print the contents of the working directory
RUN ls -al
# Step 8: Install Node.js and npm
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
# Step 9: Install the required dependencies for ToolJet
RUN npm install
# Step 10: Set the command
CMD ["npm", "start"]