apz
apz
Explore posts from servers
RRailway
Created by apz on 5/30/2023 in #βœ‹ο½œhelp
How do I use the latest version of Deno 1.34.1 using the nixpacks.toml (or) railway.toml
Sure πŸ˜… :
FROM denoland/deno:latest

# The port that your application listens to.
EXPOSE 8080

WORKDIR /app

# Prefer not to run as root.
USER deno

# Copy all files from the current directory on your local machine to the current directory in the Docker image.
COPY . .

# These steps will be re-run upon each file change in your working directory:
# Compile the main app so that it doesn't need to be compiled each startup/entry.
RUN deno cache ./src/main.ts

CMD ["deno", "task", "start"]
FROM denoland/deno:latest

# The port that your application listens to.
EXPOSE 8080

WORKDIR /app

# Prefer not to run as root.
USER deno

# Copy all files from the current directory on your local machine to the current directory in the Docker image.
COPY . .

# These steps will be re-run upon each file change in your working directory:
# Compile the main app so that it doesn't need to be compiled each startup/entry.
RUN deno cache ./src/main.ts

CMD ["deno", "task", "start"]
β–Ά erd --level 1
β”Œβ”€ deno.jsonc
β”œβ”€ Dockerfile
β”œβ”€ processedData
β”œβ”€ docs
β”œβ”€ README.md
β”œβ”€ deno.lock
β”œβ”€ rawData
β”œβ”€ assets
β”œβ”€ railway.json
β”œβ”€ src
β–Ά erd --level 1
β”Œβ”€ deno.jsonc
β”œβ”€ Dockerfile
β”œβ”€ processedData
β”œβ”€ docs
β”œβ”€ README.md
β”œβ”€ deno.lock
β”œβ”€ rawData
β”œβ”€ assets
β”œβ”€ railway.json
β”œβ”€ src
src contains only one file for now β€” main.ts
13 replies
RRailway
Created by apz on 5/30/2023 in #βœ‹ο½œhelp
How do I use the latest version of Deno 1.34.1 using the nixpacks.toml (or) railway.toml
13 replies
RRailway
Created by apz on 5/30/2023 in #βœ‹ο½œhelp
How do I use the latest version of Deno 1.34.1 using the nixpacks.toml (or) railway.toml
okay, πŸ‘πŸ½
13 replies
RRailway
Created by apz on 5/30/2023 in #βœ‹ο½œhelp
How do I use the latest version of Deno 1.34.1 using the nixpacks.toml (or) railway.toml
f5d8c623-2522-4045-9827-69e1cc2efaa3
13 replies