Spaces:
Sleeping
Sleeping
File size: 302 Bytes
6a15011 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | FROM node:18-alpine
# Create app directory
WORKDIR /app
# Install app dependencies
COPY package*.json ./
RUN npm install
# Copy the rest of the backend source code
COPY . .
# Hugging Face Spaces require the app to run on port 7860
ENV PORT=7860
EXPOSE 7860
# Start the server
CMD ["npm", "start"]
|