File size: 515 Bytes
359d766 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# Use an official Node.js runtime as the base image
FROM node:16
# Set the working directory inside the container
WORKDIR /usr/src/app
# Install git to clone the repository
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
# Clone the repository
RUN git clone https://github.com/smartfoloo/lunarsync.git .
# Install dependencies
RUN npm install
# Expose the port the app runs on (if needed, replace 3000 with your app's port)
EXPOSE 3000
# Start the application
CMD ["npm", "start"]
|