lunarsync / Dockerfile
GPTfree api
Create Dockerfile
359d766 verified
raw
history blame contribute delete
515 Bytes
# 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"]