Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: tailcallrc #7

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 /exercises/*.graphql | entr -r tailcall start $(ls /exercises/*.graphql)",
"command": "ls /workspaces/tailcall-sandbox/exercises/*.graphql | entr -r $HOME/.tailcall/bin/tc start $(ls /workspaces/tailcall-sandbox/exercises/*.graphql)",
"runAtStart": true,
"preview": {
"port": 4000
Expand Down
15 changes: 2 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# Use an official Node.js runtime as a parent image
FROM node:latest

# Install utilities
FROM ubuntu:latest
RUN apt-get update && apt-get install -y curl jq entr

# Set the working directory
WORKDIR /exercises

# Copy the current directory contents into the container at /exercises
COPY ./exercises/. /exercises

# Make port 4000 available to the world outside this container
EXPOSE 4000

RUN npm install -g @tailcallhq/tailcall

curl -sSL https://raw.githubusercontent.com/tailcallhq/tailcall/master/install.sh | bash -s -- v0.16.0