π₯ The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
change dockerfile in opensignserver
prafullnavkar-nxg5ec76b42073b
diff --git a/apps/OpenSignServer/Dockerfile b/apps/OpenSignServer/Dockerfileindex b5b2a885d..c71c551e2 100644--- a/apps/OpenSignServer/Dockerfile+++ b/apps/OpenSignServer/Dockerfile@@ -1,26 +1,27 @@-FROM node:latest+# Use an official Node runtime as the base image+FROM node:16-RUN mkdir parse+# Set the working directory inside the container+WORKDIR /usr/src/app-ADD . /parse-WORKDIR /parse-RUN npm install--ENV APP_ID setYourAppId-ENV MASTER_KEY setYourMasterKey-ENV DATABASE_URI setMongoDBURI+# Copy package.json and package-lock.json first to leverage Docker cache+COPY apps/OpenSignServer/package*.json ./-# Optional (default : 'parse/cloud/main.js')-# ENV CLOUD_CODE_MAIN cloudCodePath+# Install application dependencies+RUN npm install-# Optional (default : '/parse')-# ENV PARSE_MOUNT mountPath+# 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-EXPOSE 1337+# Copy the current directory contents into the container+COPY apps/OpenSignServer/ .-# Uncomment if you want to access cloud code outside of your container-# A main.js file must be present, if not Parse will not start+# Make port 8080 available to the world outside this container+EXPOSE 8080-# VOLUME /parse/cloud+# Define environment variables if needed+# ENV NODE_ENV production+# ENV DATABASE_URL mongodb://db:27017-CMD [ "npm", "start" ]+# Run the application+CMD ["npm", "start"]\ No newline at end of file