# Use the full official Node.js image
FROM node:20

# Set working directory
WORKDIR /app

# Copy all your app files
COPY . /app

# Expose the port
EXPOSE 8086

# Start the server using npx
CMD ["npx", "http-server", ".", "-p", "8080", "--cors", "-c-1"]
