-
-
Save w3cj/8b510e32ab568697ecb9b28597896b84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM node | |
| RUN mkdir ~/.ssh | |
| RUN echo "-----BEGIN OPENSSH PRIVATE KEY-----\n\ | |
| your\n\ | |
| private\n\ | |
| key\n\ | |
| goes\n\ | |
| here\n\ | |
| -----END OPENSSH PRIVATE KEY-----" > ~/.ssh/id_ed25519 | |
| RUN chmod 600 ~/.ssh/id_ed25519 | |
| RUN ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts | |
| WORKDIR /app | |
| RUN git clone git@github.com:w3cj/t3-example.git . | |
| RUN npm install | |
| RUN npx prisma db push | |
| CMD npx prisma studio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment