File size: 622 Bytes
5da6b77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27647a0
07fe933
 
5da6b77
27647a0
 
5da6b77
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Use an official Node.js runtime as the base image
FROM node:14

# Set the working directory inside the container
WORKDIR /app

# Copy package.json and package-lock.json to the working directory
COPY package*.json ./

# Install the application dependencies
RUN npm install

# Copy the rest of the application code to the working directory
COPY . .

# Set the environment variables

ENV PDF_SERVICES_CLIENT_ID=85c8c729f8a64332abd236589f997b2b
ENV PDF_SERVICES_CLIENT_SECRET=p8e-C4FxbvRivH-OIq2OLeBDLsCF96nVFHQq
# Expose the ports

EXPOSE 7860

# Define the command to run your Node.js application
CMD ["npm", "run","dev"]