Updated libraries, docker engine version, docker distro version

This also officially publishes the changes from @eels.
Sorry it took so long.
This commit is contained in:
2023-12-23 23:36:18 +11:00
parent 45b9ac1281
commit 99dfaddf04
8 changed files with 1275 additions and 166 deletions
+3 -4
View File
@@ -43,8 +43,7 @@ const question = (prompt, def = null) => {
//generate the files
const ymlfile = `
version: '3'
version: '3.8'
services:
${appName}:
build:
@@ -85,7 +84,7 @@ services:
- ./mysql:/var/lib/mysql
- ./startup.sql:/docker-entrypoint-initdb.d/startup.sql:ro
traefik_${appName}:
image: "traefik:v2.4"
image: "traefik:v2.10"
command:
- "--log.level=ERROR"
- "--api.insecure=false"
@@ -109,7 +108,7 @@ networks:
`;
const dockerfile = `
FROM node:18-bullseye-slim
FROM node:21-bookworm-slim
WORKDIR "/app"
COPY package*.json /app
RUN npm install --production