show workdir tree in Dockerfile
Browse files- .gitignore +2 -1
- Dockerfile +2 -1
- nb/__init__.py +0 -0
.gitignore
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
.venv
|
| 2 |
**/__pycache__/
|
|
|
|
| 3 |
nb/**/_*.py
|
| 4 |
-
nb
|
|
|
|
| 1 |
.venv
|
| 2 |
**/__pycache__/
|
| 3 |
+
nb/**/_*.html
|
| 4 |
nb/**/_*.py
|
| 5 |
+
!nb/__init__.py
|
Dockerfile
CHANGED
|
@@ -2,7 +2,7 @@ FROM debian:latest AS puppy
|
|
| 2 |
|
| 3 |
# prep
|
| 4 |
RUN apt-get update \
|
| 5 |
-
&& apt-get install -y curl \
|
| 6 |
&& apt-get clean
|
| 7 |
RUN useradd -m -u 1000 user
|
| 8 |
USER user
|
|
@@ -21,6 +21,7 @@ WORKDIR appenv
|
|
| 21 |
|
| 22 |
# copy project files, install dependencies
|
| 23 |
COPY --chown=user ./* .
|
|
|
|
| 24 |
RUN pixi run uv sync --project .
|
| 25 |
|
| 26 |
# HELLO WORLD
|
|
|
|
| 2 |
|
| 3 |
# prep
|
| 4 |
RUN apt-get update \
|
| 5 |
+
&& apt-get install -y curl tree \
|
| 6 |
&& apt-get clean
|
| 7 |
RUN useradd -m -u 1000 user
|
| 8 |
USER user
|
|
|
|
| 21 |
|
| 22 |
# copy project files, install dependencies
|
| 23 |
COPY --chown=user ./* .
|
| 24 |
+
RUN tree
|
| 25 |
RUN pixi run uv sync --project .
|
| 26 |
|
| 27 |
# HELLO WORLD
|
nb/__init__.py
ADDED
|
File without changes
|