Skip to content

Commit

Permalink
Update 3 files
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 committed Nov 21, 2023
1 parent f1678b5 commit 115898b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .codesandbox/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tasks": {
"run tailcall": {
"name": "run tailcall server",
"command": "ls /workspaces/tailcall-sandbox/exercises/*.graphql | entr -r $HOME/.tailcall/bin/tailcall start $(ls /workspaces/tailcall-sandbox/exercises/*.graphql)",
"command": "ls /workspaces/tailcall-sandbox/exercises/*.graphql | entr -r tailcall start $(ls /workspaces/tailcall-sandbox/exercises/*.graphql)",
"runAtStart": true,
"preview": {
"port": 4000
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "npm i -g @tailcallhq/tailcall"
// "postStartCommand": "npm i -g @tailcallhq/tailcall"

// Configure tool-specific properties.
// "customizations": {},
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM ubuntu:latest
FROM node:latest
RUN apt-get update && apt-get install -y curl jq entr
WORKDIR /exercises
COPY ./exercises/. /exercises
EXPOSE 4000
RUN curl -sSL https://raw.githubusercontent.com/tailcallhq/tailcall/master/install.sh | bash -s -- v0.16.1
# RUN curl -sSL https://raw.githubusercontent.com/tailcallhq/tailcall/master/install.sh | bash -s -- v0.16.1

RUN npm i -g @tailcallhq/tailcall

0 comments on commit 115898b

Please sign in to comment.