Spaces:
Paused
Paused
Download opticparse-js/Dockerfile from paras9909/opticparse-python: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/paras9909/opticparse-python/resolve/main/opticparse-js/Dockerfile
- Command line
-
hf download hf://spaces/paras9909/opticparse-python/opticparse-js/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/paras9909/opticparse-python/resolve/main/opticparse-js/Dockerfile
353 Bytes
| # Use the official Playwright Node image | |
| FROM mcr.microsoft.com/playwright:v1.44.0-jammy | |
| WORKDIR /app | |
| # Copy package files and install dependencies | |
| COPY package*.json ./ | |
| RUN npm install | |
| # Copy application source code | |
| COPY . . | |
| # Build the TypeScript code | |
| RUN npm run build | |
| # Expose the port | |
| EXPOSE 3000 | |
| # Start the application | |
| CMD ["npm", "start"] | |