Files
OpenSign/apps/OpenSignServer/Dockerhubfile
T
prafull-opensignlabs 760a388b13 Merge pull request #392 from OpenSignLabs/staging
fix: default value is not update for textbox widget in create document from template
2025-03-19 10:30:07 +00:00

32 lines
898 B
Plaintext

# Use an official Node runtime as the base image
FROM node:22.14.0
# install java
RUN wget https://download.oracle.com/java/23/latest/jdk-23_linux-x64_bin.deb \
&& dpkg -i jdk-23_linux-x64_bin.deb
# Set the working directory inside the container
WORKDIR /usr/src/app
# Copy package.json and package-lock.json first to leverage Docker cache
COPY apps/OpenSignServer/package*.json ./
# Install application dependencies
RUN npm install
# If you have native dependencies, you'll need extra tools. Uncomment the following line if needed.
# RUN apk add --no-cache make gcc g++ python3
# Copy the current directory contents into the container
COPY apps/OpenSignServer/ .
# Make port 8080 available to the world outside this container
EXPOSE 8080
# Define environment variables if needed
# ENV NODE_ENV production
# ENV DATABASE_URL mongodb://db:27017
# Run the application
CMD ["npm", "start"]