Skip to content

Commit

Permalink
Merge pull request #58 from lmnr-ai/dev
Browse files Browse the repository at this point in the history
update node + minor fix build (#57)
  • Loading branch information
dinmukhamedm authored Oct 18, 2024
2 parents b12df16 + f9cc96e commit 50d9462
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS base
FROM node:22-alpine AS base

# Install dependencies only when needed
FROM base AS deps
Expand All @@ -20,17 +20,17 @@ COPY . .
# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry during the build.
ENV NEXT_TELEMETRY_DISABLED 1
ENV NEXT_TELEMETRY_DISABLED=1

RUN npm run build

# Production image, copy all the files and run next
FROM base AS runner
WORKDIR /app

ENV NODE_ENV production
ENV NODE_ENV=production
# Uncomment the following line in case you want to disable telemetry during runtime.
ENV NEXT_TELEMETRY_DISABLED 1
ENV NEXT_TELEMETRY_DISABLED=1

RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
Expand All @@ -50,8 +50,8 @@ USER nextjs

EXPOSE 3000

ENV PORT 3000
ENV PORT=3000
# set hostname to localhost
ENV HOSTNAME "0.0.0.0"
ENV HOSTNAME="0.0.0.0"

CMD ["node", "server.js"]
2 changes: 1 addition & 1 deletion frontend/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Hummingbird
# Frontend

## Setup instructions

Expand Down
2 changes: 1 addition & 1 deletion frontend/components/landing/landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import yc from '@/assets/landing/yc.svg';
import traces from '@/assets/landing/traces.png';
import { ArrowRight, ArrowUpRight, Github } from 'lucide-react';
import smallTrace from '@/assets/landing/small-trace.png';
import moa from '@/assets/landing/moa.png';
import moa from '@/assets/landing/MoA.png';
import palantir from '@/assets/landing/palantir.svg';
import amazon from '@/assets/landing/amazon.svg';
import github from '@/assets/landing/github-mark-white.svg';
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "hummingbird",
"name": "frontend",
"version": "0.0.1",
"private": true,
"scripts": {
Expand Down

0 comments on commit 50d9462

Please sign in to comment.