Cashapp / Dockerfile
ashley1112332's picture
Create Dockerfile
984f2e3 verified
raw
history blame contribute delete
347 Bytes
# Use a lightweight Node.js image
FROM node:18-bullseye
# Set working directory
WORKDIR /app
RUN git clone https://github.com/Cashapp365/Chat-Site.git /app
# Set correct permissions
RUN chmod -R 777 /app
# Install project dependencies
WORKDIR /app
RUN npm install
# Expose a port
EXPOSE 3000
# Start the application
CMD ["node", "server.js"]