Skip to content

Commit

Permalink
Update devcontainer.json and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 committed Nov 21, 2023
1 parent f777c4b commit fec7d89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Sets the run context to one level up instead of the .devcontainer folder.
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile",
"mounts": ["source=/app,target=/app,type=bind,consistency=default"]
"mounts": ["source=/exercises,target=/exercises,type=bind,consistency=default"]
},

// Features to add to the dev container. More info: https://containers.dev/features.
Expand All @@ -19,7 +19,7 @@
"label": "Tailcall Playground",
"onAutoForward": "openPreview"
}
},
}

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "npm i -g @tailcallhq/tailcall"
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ FROM ubuntu:latest
RUN apt-get update && apt-get install -y curl jq entr
WORKDIR /exercises
COPY ./exercises/. /exercises
RUN apt-get install -y entr
EXPOSE 4000
curl -sSL https://raw.githubusercontent.com/tailcallhq/tailcall/master/install.sh | bash -s -- v0.16.0
RUN curl -sSL https://raw.githubusercontent.com/tailcallhq/tailcall/master/install.sh | bash -s -- v0.16.0

0 comments on commit fec7d89

Please sign in to comment.