Bump version for Node in Dockerfile, added description

main
Guus van Meerveld 3 years ago
parent 20548a0a35
commit f61679b7f9
Signed by: Guusvanmeerveld
GPG Key ID: 2BA7D7912771966E

@ -1,4 +1,4 @@
FROM node:alpine AS deps FROM node:16-alpine AS deps
WORKDIR /app WORKDIR /app
@ -7,7 +7,7 @@ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile RUN yarn install --frozen-lockfile
FROM node:alpine AS builder FROM node:16-alpine AS builder
WORKDIR /app WORKDIR /app
@ -19,7 +19,7 @@ ENV NEXT_TELEMETRY_DISABLED 1;
RUN yarn export RUN yarn export
FROM nginx AS runner FROM nginx:alpine AS runner
COPY --from=builder /app/out /usr/share/nginx/html COPY --from=builder /app/out /usr/share/nginx/html

@ -1,6 +1,7 @@
{ {
"name": "material-tube", "name": "material-tube",
"displayName": "MaterialTube", "displayName": "MaterialTube",
"description": "MaterialTube is a beautiful and elegant web client for Invidious servers, built using Next.js and MUI.",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",

@ -5,7 +5,7 @@ import type { DefaultSeoProps } from "next-seo";
const SEO: DefaultSeoProps = { const SEO: DefaultSeoProps = {
titleTemplate: `%s | ${packageInfo.displayName}`, titleTemplate: `%s | ${packageInfo.displayName}`,
defaultTitle: packageInfo.displayName, defaultTitle: packageInfo.displayName,
description: "This is a NextJS template." description: packageInfo.description
}; };
export default SEO; export default SEO;

Loading…
Cancel
Save