Skip to content

Commit

Permalink
Updated Python to 3.12 and Node to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
danyi1212 committed Aug 17, 2024
1 parent ee2db0f commit 1a0e859
Show file tree
Hide file tree
Showing 15 changed files with 4,117 additions and 3,155 deletions.
2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/celery-insights.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/git_toolbox_blame.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/git_toolbox_prj.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/runConfigurations/run_server.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
FROM python:3.11-alpine AS requirements-stage
FROM python:3.12-alpine AS python-base

ENV PYTHONFAULTHANDLER=1 \
PYTHONHASHSEED=random \
PYTHONUNBUFFERED=1

RUN pip install --upgrade pip

FROM python-base AS requirements-stage

WORKDIR /tmp

Expand All @@ -16,7 +24,7 @@ RUN if [ $VARIANT = "all" ]; then \
poetry export -f requirements.txt --output requirements.txt; \
fi

FROM node:18-alpine AS front-build
FROM node:22-alpine AS front-build

WORKDIR /frontend

Expand All @@ -27,7 +35,7 @@ RUN npm ci
COPY /frontend/ .
RUN npm run build

FROM python:3.11-alpine
FROM python-base

WORKDIR /app

Expand Down
Loading

0 comments on commit 1a0e859

Please sign in to comment.