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