Spaces:
Sleeping
Sleeping
bintangyosua
commited on
Update Dockerfile
Browse files- Dockerfile +16 -16
Dockerfile
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
-
FROM python:3.
|
2 |
-
COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv
|
3 |
-
|
4 |
-
RUN useradd -m -u 1000 user
|
5 |
-
ENV PATH="/home/user/.local/bin:$PATH"
|
6 |
-
ENV UV_SYSTEM_PYTHON=1
|
7 |
-
|
8 |
-
WORKDIR /app
|
9 |
-
|
10 |
-
COPY --chown=user ./requirements.txt requirements.txt
|
11 |
-
RUN uv pip install -r requirements.txt
|
12 |
-
|
13 |
-
COPY --chown=user . /app
|
14 |
-
USER user
|
15 |
-
|
16 |
-
CMD ["marimo", "run", "app.py", "--include-code", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
1 |
+
FROM python:3.11.4
|
2 |
+
COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv
|
3 |
+
|
4 |
+
RUN useradd -m -u 1000 user
|
5 |
+
ENV PATH="/home/user/.local/bin:$PATH"
|
6 |
+
ENV UV_SYSTEM_PYTHON=1
|
7 |
+
|
8 |
+
WORKDIR /app
|
9 |
+
|
10 |
+
COPY --chown=user ./requirements.txt requirements.txt
|
11 |
+
RUN uv pip install -r requirements.txt
|
12 |
+
|
13 |
+
COPY --chown=user . /app
|
14 |
+
USER user
|
15 |
+
|
16 |
+
CMD ["marimo", "run", "app.py", "--include-code", "--host", "0.0.0.0", "--port", "7860"]
|