Spaces:
Paused
Paused
Download Dockerfile from dpoplatfora/web-assistant: direct link, hf CLI and curl.
- Browser
- Download file 449 Bytes
-
https://huggingface.co/spaces/dpoplatfora/web-assistant/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dpoplatfora/web-assistant/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dpoplatfora/web-assistant/resolve/main/Dockerfile
449 Bytes
| # Use an official Node.js runtime as a parent image | |
| FROM node:16 | |
| # Set the working directory in the container | |
| WORKDIR /usr/src/app | |
| # Copy the package.json and package-lock.json files to the working directory | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install --production | |
| # Copy the rest of the application code to the working directory | |
| COPY . . | |
| # Expose port 7860 | |
| EXPOSE 7860 | |
| # Command to run your application | |
| CMD [ "npm", "start" ] |