ResumeBuilder / Dockerfile
Mokshith's picture
port
27647a0
raw
history blame contribute delete
622 Bytes
# 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"]