Skip to content

Commit

Permalink
necessary chanages to make deploy to fly work again
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasfr committed Nov 13, 2024
1 parent 8739530 commit 000c0bc
Show file tree
Hide file tree
Showing 4 changed files with 1,892 additions and 333 deletions.
8 changes: 3 additions & 5 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# syntax = docker/dockerfile:1
# syntax = docker/dockerfile:1.4

# Adjust NODE_VERSION as desired
ARG NODE_VERSION=20.10.0
FROM node:${NODE_VERSION}-slim as base

LABEL fly_launch_runtime="React Router"
ARG NODE_VERSION=22
FROM node:${NODE_VERSION}-slim AS base

# React router app lives here
WORKDIR /app
Expand Down
1 change: 0 additions & 1 deletion docs/app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Button } from '~/components/ui/Button'
import { LampContainer } from '~/components/ui/Lamp'
import { MaskContainer } from '~/components/ui/MaskContainer'
import { Meteors } from '~/components/ui/Meteors'
import { SparklesCore } from '~/components/ui/Sparkles'
import { InfiniteMovingCards } from '~/components/ui/infinite-cards'
import { Navbar } from '~/components/ui/navbar-menu'
import { TypewriterEffect } from '~/components/ui/typewritter'
Expand Down
4 changes: 2 additions & 2 deletions docs/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ primary_region = 'lhr'
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = true
auto_stop_machines = "suspend"
auto_start_machines = true
min_machines_running = 0
processes = ['app']

[[vm]]
memory = '1gb'
memory = '512mb'
cpu_kind = 'shared'
cpus = 1
Loading

0 comments on commit 000c0bc

Please sign in to comment.