mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-20 14:42:37 +02:00
New Features: 1. Added support to recreate a new document from declined document without having to redo everything from scratch. 2. Added replace pdf file feature for Templates. PDF underlying a Template can now be replaced while keeping all the fields the same. 3. Introduced the ability to replace pdf file for in UpdateTemplate and CreateDocumentfromtemplate API. 4. Revamped the preferences menu UI. Bug Fixes: 1. Fixed issue with capital letters in contact emails via API. 2. Better validations & error handling in APIs
32 lines
886 B
Plaintext
32 lines
886 B
Plaintext
# Use an official Node runtime as the base image
|
|
FROM node:22.14.0
|
|
|
|
# install java
|
|
RUN wget https://downloads.opensign.me/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"]
|