Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
mebubo
/
gpted
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
334c02c
gpted
/
Dockerfile
mebubo
Dockerfile: user
334c02c
10 months ago
raw
Copy download link
history
blame
228 Bytes
FROM
ghcr.io/astral-sh/uv:python3.
12
-bookworm-slim
WORKDIR
/app
RUN
useradd -m -u 1000 user
COPY
--
chown
=user . /app
USER
user
ENV
HOME=/home/
user
RUN
uv
sync
CMD
[
".venv/bin/fastapi"
,
"run"
,
"--port"
,
"7860"
,
"main.py"
]