Skip to content

πŸ”₯ The free & Open Source DocuSign alternative

Update Dockerfile

Rishabf5e164cb3c45
diff --git a/apps/OpenSign/Dockerfile b/apps/OpenSign/Dockerfile
index 49067d236..172fc969d 100644
--- a/apps/OpenSign/Dockerfile
+++ b/apps/OpenSign/Dockerfile
@@ -5,14 +5,16 @@ FROM node:16
WORKDIR /usr/src/app
# Copy package.json and package-lock.json first to leverage Docker cache
-COPY apps/OpenSign/package*.json ./
+COPY ./package*.json ./
# Install application dependencies
RUN npm install
# Copy the current directory contents into the container
-COPY apps/OpenSign/ .
-COPY apps/OpenSign/.husky .
+COPY ./ .
+COPY ./.husky .
+
+RUN npm run build
# Make port 3000 available to the world outside this container
EXPOSE 3000