anycoder-04f35d99 / Dockerfile
bigbossmonster's picture
Upload Dockerfile with huggingface_hub
fe53072 verified
raw
history blame contribute delete
334 Bytes
# Use official Node.js image
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package.json package-lock.json ./
# Install dependencies
RUN npm install
# Copy all files
COPY . .
# Build the application
RUN npm run build
# Expose the port
EXPOSE 3000
# Start the application
CMD ["npm", "start"]