Spaces:
Paused
Paused
Upload 2 files
Browse filesFiles changed (2)
- DockerfileAdded+31
- README.mdAdded+11
12345678910111213141516171819202122232425262728293031FROM python:3.9.5-slim-busterLABEL author="Lan"LABEL email="vast@tom.com"
RUN chmod -R 777 /varRUN chmod 777 /etc/timezone
RUN set -x && \ apt-get update && \ apt-get install --no-install-recommends -y git && \ git config --global user.email "filecodebox@@users.noreply.github.com" && \ git config --global user.name "filecodebox" && \ git config --global http.postBuffer 524288000
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtimeRUN echo 'Asia/Shanghai' >/etc/timezone
RUN useradd -m -u 1000 userUSER userENV PATH="/home/user/.local/bin:$PATH"
RUN git clone https://github.com/vastsa/FileCodeBox /home/user/app
WORKDIR /home/user/appRUN pip install -r requirements.txtEXPOSE 12345CMD ["python","main.py"]1234567891011---title: Filecodeboxemoji: 🏆colorFrom: indigocolorTo: pinksdk: dockerpinned: falseapp_port: 12345---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-referenceDockerfileAdded+31
README.mdAdded+11