auto-svg / Dockerfile
Mbonea's picture
initial
e73587d
raw
history blame contribute delete
507 Bytes
# Use an official Node.js runtime as the base image
FROM node:18
# Set the working directory in the container
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
# Install application dependencies
RUN npm install
# Copy the rest of the application code to the container
COPY . .
# Expose the port that your Express.js application will listen on
EXPOSE 3000
# Define the command to run your application when the container starts
CMD ["node", "app.js"]