Skip to content

Commit

Permalink
Renamed src to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-Palmer committed Jan 4, 2025
1 parent 0362364 commit 584c976
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/src",
"workspaceFolder": "/docs",
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -35,7 +35,7 @@
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
// "shutdownAction": "none",

"postCreateCommand": "gem install jekyll bundler && jekyll new ." // This happens after the /src dir is mounted
"postCreateCommand": "gem install jekyll bundler && jekyll new ." // This happens after the /docs dir is mounted

// Configure tool-specific properties.
// "customizations": {},
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ruby:3.3

# Works but requires named volume binding because we create files before the compose /src dir mount
# RUN mkdir /src
# WORKDIR /src
# Works but requires named volume binding because we create files before the compose /docs dir mount
# RUN mkdir /docs
# WORKDIR /docs
# RUN gem install jekyll bundler && jekyll new .
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ services:
build: .
command: /bin/sh -c "sleep infinity"
# Works but doesn't output to console
# command: /bin/sh -c 'bundle exec jekyll serve --livereload' --path /src
# command: /bin/sh -c 'bundle exec jekyll serve --livereload' --path /docs
volumes:
- ./src:/src
- ./docs:/docs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 584c976

Please sign in to comment.