Spaces:
Running
Running
File size: 348 Bytes
f345805 cc4f981 f345805 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Use a lightweight Node.js image
FROM node:18-bullseye
# Set working directory
WORKDIR /app
RUN git clone https://github.com/EMMYHENZ-TECH/My-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"] |