Skip to content

Commit

Permalink
Merge pull request #3 from codyro/pr-709-devcontainer-tweaks
Browse files Browse the repository at this point in the history
Fix hugo failing to start in the background successfully
  • Loading branch information
alaurie authored Dec 11, 2024
2 parents beb5103 + d3979d1 commit f83d720
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@ USER vscode
EXPOSE 1313

# Set the working directory to the container workspace directory
WORKDIR ${WORKSPACE_DIR}
WORKDIR ${WORKSPACE_DIR}

ENTRYPOINT ["hugo", "server"]
CMD ["--bind=0.0.0.0"]
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "AlmaLinux_WWW_Container",
"overrideCommand": true,
"overrideCommand": false,
"build": {
"dockerfile": "Dockerfile",
"args": {
Expand Down

0 comments on commit f83d720

Please sign in to comment.