-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdfetch-devcontainer.patch
More file actions
38 lines (32 loc) · 1.17 KB
/
dfetch-devcontainer.patch
File metadata and controls
38 lines (32 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
diff --git a/Dockerfile b/Dockerfile
index b3e8653..4d68823 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,10 +7,10 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
subversion=1.14.1-3+deb11u1 && \
rm -rf /var/lib/apt/lists/*
-WORKDIR /workspaces/dfetch
+WORKDIR /workspaces/dfetch-hub
# Add a non-root user (dev)
-RUN useradd -m dev && chown -R dev:dev /workspaces/dfetch
+RUN useradd -m dev && chown -R dev:dev /workspaces/dfetch-hub
USER dev
@@ -21,7 +21,7 @@ ENV PYTHONUSERBASE="/home/dev/.local"
COPY --chown=dev:dev . .
RUN pip install --no-cache-dir --root-user-action=ignore --upgrade pip==25.0.1 \
- && pip install --no-cache-dir --root-user-action=ignore -e .[development,docs,test,casts] \
+ && pip install --no-cache-dir --root-user-action=ignore -e .[development,gui] \
&& pre-commit install --install-hooks
# Set bash as the default shell
diff --git a/devcontainer.json b/devcontainer.json
index 3cc8f4d..263377c 100644
--- a/devcontainer.json
+++ b/devcontainer.json
@@ -33,6 +33,6 @@
}
}
},
- "workspaceFolder": "/workspaces/dfetch",
+ "workspaceFolder": "/workspaces/dfetch-hub",
"remoteUser": "dev"
}