nc-helper / Dockerfile
chb2025's picture
Update Dockerfile
7b7603a verified
raw
history blame contribute delete
248 Bytes
FROM node:18-alpine
WORKDIR /app
# Copy package.json and package-lock.json
COPY package.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY . .
# Expose the port
EXPOSE 7860
# Start the application
CMD ["node", "index.js"]