Skip to content

Commit

Permalink
UPD: Dev container config
Browse files Browse the repository at this point in the history
  • Loading branch information
nandyalu committed Aug 5, 2024
1 parent 190a654 commit efad7d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ RUN npm install -g [email protected]
RUN npm install -g @angular/[email protected]

# Clone the repository into /app folder
WORKDIR /app
RUN git clone https://github.com/nandyalu/trailarr.git /app
# WORKDIR /app
# RUN git clone https://github.com/nandyalu/trailarr.git /app

# Install Python Packages
COPY dev-requirements.txt .
Expand Down
5 changes: 3 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
"mounts": [
"source=/var/appdata/trailarr-dev,target=/data,type=bind,consistency=cached",
"source=/media/all/Media,target=/media,type=bind,consistency=cached"
// "source=${devcontainerId},target=/app,type=volume"
],

// Set workspace folder to /app so that the project is in the right place
// "workspaceMount": "source=${containerWorkspaceFolder},target=/app,type=bind,consistency=cached",
// "workspaceFolder": "/app",
"workspaceMount": "source=${localWorkspaceFolder},target=/app,type=bind",
"workspaceFolder": "/app",


"containerEnv": {
Expand Down

0 comments on commit efad7d1

Please sign in to comment.