hop hop hop hop hop hop hop
This commit is contained in:
parent
40175e625b
commit
629538a722
2 changed files with 28 additions and 0 deletions
24
Dockerfile
Normal file
24
Dockerfile
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Setup
|
||||
FROM denoland/deno
|
||||
WORKDIR /opt/dreamland
|
||||
|
||||
ARG PORT=3000
|
||||
ARG SUPABASE_KEY
|
||||
ARG SUPABASE_URL
|
||||
EXPOSE ${PORT}
|
||||
|
||||
# Setting up the Code
|
||||
COPY . .
|
||||
|
||||
# Install required CLI Tools
|
||||
RUN deno install -qAn vr https://deno.land/x/velociraptor@1.5.0/cli.ts
|
||||
|
||||
# send a request to ipv4.party because it's funny
|
||||
RUN vr funny
|
||||
|
||||
# Cache Dependencies and generate Routes
|
||||
RUN vr cache
|
||||
RUN vr routes
|
||||
|
||||
|
||||
ENTRYPOINT [ "vr", "start"]
|
4
hop.yml
Normal file
4
hop.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
version: 1
|
||||
config:
|
||||
project_id: project_NTQyODA2ODc4MzU2OTcxNzQ
|
||||
deployment_id: deployment_NTQ2NDQ3MzcxOTcxMjU2Mzg
|
Loading…
Add table
Reference in a new issue