Spaces:
Running
Running
Download Dockerfile from 4send/messenger: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/spaces/4send/messenger/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/4send/messenger/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/4send/messenger/resolve/main/Dockerfile
251 Bytes
| FROM node:20-alpine | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install --omit=dev | |
| COPY . . | |
| RUN mkdir -p uploads && chown -R node:node /app | |
| USER node | |
| ENV PORT=7860 | |
| ENV NODE_ENV=production | |
| EXPOSE 7860 | |
| CMD ["node", "index.js"] |