Nora Petrova
Add project to new space
20e666e
raw
history blame contribute delete
331 Bytes
FROM node:20.11.0-slim
WORKDIR /app
# Copy the rest of the application code
COPY --chown=user leaderboard-app/ ./
RUN npm install
# Build the app
RUN npm run build
# Expose the port the app will run on
# HF Spaces uses port 7860 by default
EXPOSE 7860
# Start the app with the correct port
ENV PORT=7860
CMD ["npm", "start"]