# Use BuildKit's inline cache feature
ARG BUILDKIT_INLINE_CACHE=1
# Use an official Node.js runtime as the base image
FROM node:latest
# Install Git
RUN apt-get update && apt-get install -y git
# Set the working directory in the container
WORKDIR /var/www/html
# Copy package.json and package-lock.json (if available)
COPY package*.json ./
# Install project dependencies
RUN npm install
# Copy the rest of your Laravel application
COPY . .
# Expose port 8000 for the application
EXPOSE 8000
# Command to run your application
CMD ["npm", "run", "dev"]
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]