Docker/Language Version updates
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
FROM python:3.11-slim
|
||||
FROM python:3.13-slim
|
||||
|
||||
COPY Pipfile* /app/
|
||||
WORKDIR /app/
|
||||
|
||||
@@ -61,7 +61,7 @@ pre-commit = "*"
|
||||
python-socketio = {extras = ["client"], version = "*"}
|
||||
|
||||
[requires]
|
||||
python_version = "3.11"
|
||||
python_version = "3.13"
|
||||
|
||||
[scripts]
|
||||
format = "black ."
|
||||
|
||||
Generated
+1730
-1456
File diff suppressed because it is too large
Load Diff
+4
-4
@@ -4,7 +4,7 @@
|
||||
|
||||
### Build Step
|
||||
# pull the Node.js Docker image
|
||||
FROM node:26-bullseye as builder
|
||||
FROM node:24-trixie AS builder
|
||||
# ENV API_URL=http://api:80
|
||||
ENV API_URL=https://mawoka.eu
|
||||
#Ah, I've noticed that!!!
|
||||
@@ -27,7 +27,7 @@ COPY package*.json ./
|
||||
COPY pnpm-lock.yaml ./
|
||||
|
||||
# run npm install in our local machine
|
||||
RUN corepack enable && corepack prepare pnpm@8.14.0 --activate && pnpm i
|
||||
RUN corepack enable && corepack prepare pnpm@10.14.0 --activate && pnpm i
|
||||
|
||||
# copy the generated modules and all other files to the container
|
||||
COPY . .
|
||||
@@ -37,13 +37,13 @@ RUN pnpm run build
|
||||
|
||||
### Serve Step
|
||||
# pull the Node.js Docker image
|
||||
FROM node:26-bullseye-slim
|
||||
FROM node:24-trixie-slim
|
||||
|
||||
# change working directory
|
||||
WORKDIR /app
|
||||
COPY --from=builder /usr/src/app/package.json .
|
||||
COPY --from=builder /usr/src/app/pnpm-lock.yaml .
|
||||
RUN corepack enable && corepack prepare pnpm@8.14.0 --activate && pnpm i
|
||||
RUN corepack enable && corepack prepare pnpm@10.14.0 --activate && pnpm i
|
||||
# copy files from previous step
|
||||
COPY --from=builder /usr/src/app/build .
|
||||
COPY --from=builder /usr/src/app/node_modules ./node_modules
|
||||
|
||||
Reference in New Issue
Block a user