Files
BTCforPlebs.com/Dockerfile
2025-10-28 09:19:25 -04:00

18 lines
365 B
Docker

# Use an official lightweight Node image
FROM node:20-alpine
# Set the working directory inside the container
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install
# Copy the rest of the project files
COPY . .
# Expose the port your app uses
EXPOSE 9000
# Default command to start your site
CMD ["npm", "run", "both"]