Download Dockerfile from vortex123/Titanium: direct link, hf CLI and curl.
- Browser
- Download file 468 Bytes
-
https://huggingface.co/spaces/vortex123/Titanium/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/vortex123/Titanium/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/vortex123/Titanium/resolve/main/Dockerfile
468 Bytes
| FROM node:18-alpine | |
| ENV NODE_ENV=production | |
| ARG NPM_BUILD="npm install --omit=dev" | |
| EXPOSE 8080/tcp | |
| LABEL maintainer="TitaniumNetwork Ultraviolet Team" | |
| LABEL summary="Ultraviolet Proxy Image" | |
| LABEL description="Example application of Ultraviolet which can be deployed in production." | |
| WORKDIR /app | |
| COPY ["package.json", "package-lock.json", "./"] | |
| RUN apk add --upgrade --no-cache python3 make g++ | |
| RUN $NPM_BUILD | |
| COPY . . | |
| ENTRYPOINT [ "node" ] | |
| CMD ["src/index.js"] | |