Spaces:
Sleeping
Sleeping
Download Dockerfile from lemachinarbo/lucas-dev: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/lemachinarbo/lucas-dev/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lemachinarbo/lucas-dev/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lemachinarbo/lucas-dev/resolve/main/Dockerfile
352 Bytes
| # Use Node.js as the base image | |
| FROM node:22 | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy package files and install dependencies | |
| COPY package.json package-lock.json ./ | |
| RUN npm install | |
| # Copy the full project | |
| COPY . . | |
| # Expose the port Fastify runs on | |
| EXPOSE 7860 | |
| # Start the Fastify server | |
| CMD ["node", "server/server.js"] | |