Download Dockerfile from QSLY/meme: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/spaces/QSLY/meme/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/QSLY/meme/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/QSLY/meme/resolve/main/Dockerfile
358 Bytes
| FROM shiwuliya/meme-generator:main | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| WORKDIR /app | |
| RUN curl -sSL https://install.python-poetry.org | python3 - | |
| ENV PATH="${PATH}:/home/user/.local/bin" \ | |
| PORT="7860" | |
| RUN mkdir -p /home/user/.config/meme_generator && \ | |
| chown -R user:user /home/user/.config/meme_generator | |
| RUN poetry install | |
| EXPOSE $PORT | |