Spaces:
Sleeping
Sleeping
File size: 388 Bytes
1291157 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy application code
COPY . .
# Set the API URL to the Hugging Face deployed API
ENV NEXT_PUBLIC_API_URL=https://naveed247365-learnflow-api.hf.space
# Build the application
RUN npm run build
# Expose port
EXPOSE 3000
# Start the application
CMD ["npm", "start"]
|