Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83ce3fb

Browse files
committed
-
1 parent aa550af commit 83ce3fb

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
6464
RUN apt install -y nodejs
6565
RUN npm install -g ijavascript
6666

67-
RUN echo 'export PATH="$HOME/bin:$PATH"\n' >>${USR_HOME}/.bashrc
67+
RUN echo 'export PATH="$HOME/bin:$PATH:/coding4beginner/bin\n"' >>${USR_HOME}/.bashrc
6868

6969
# -------------------------------------------------------------------------------------------------
7070
# DOTNET
@@ -123,7 +123,7 @@ RUN PATH=${USR_HOME}/.venv/bin:${USR_HOME}/.deno/bin:$PATH: deno jupyter --insta
123123
# VSCODE
124124
RUN mkdir -p /coding4beginner/.vscode
125125
COPY vscode/* /coding4beginner/.vscode
126-
COPY bin/* ${USR_HOME}/bin
126+
COPY bin/* /coding4beginner/bin
127127

128128
RUN sudo chown -R ${USR_NAME}:${GRP_NAME} ${USR_HOME}/bin /coding4beginner
129129
RUN sudo chmod +x ${USR_HOME}/bin/*
File renamed without changes.
File renamed without changes.
File renamed without changes.

.devcontainer/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ services:
88

99
container_name: coding4beginner
1010
volumes:
11-
- ./bin:/coding4beginner/bin
1211
- ../../Lessons:/coding4beginner/lessons
1312
- ../../Workspace:/coding4beginner/workspace
1413
- ../../Courses:/coding4beginner/courses
14+
15+
- ../..:/ROOT
1516
ports:
1617
- 8000:8000
1718
- 8008:8080

0 commit comments

Comments
 (0)