dreamland/Dockerfile
2022-09-17 01:43:28 +02:00

23 lines
No EOL
396 B
Docker

# 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
ENTRYPOINT [ "vr", "start"]