Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM node:16-alpine as frontend
ARG NODE_VERSION=16.20.2
ARG PYTHON_VERSION=3.11.8


FROM node:${NODE_VERSION}-bookworm-slim as frontend

ARG VUE_APP_ROOT_API=/api

Expand All @@ -8,7 +12,8 @@ COPY ./client .
RUN npm ci --no-audit --ignore-scripts
RUN npm run build

FROM python:3.11.4-slim-bullseye as build

FROM python:${PYTHON_VERSION}-slim-bookworm as build

ENV DEBIAN_FRONTEND=noninteractive

Expand All @@ -20,7 +25,8 @@ RUN pip install --upgrade pip setuptools cython
COPY ./api/requirements.txt .
RUN pip install --user --no-warn-script-location -r requirements.txt

FROM python:3.11.4-slim-bullseye

FROM python:${PYTHON_VERSION}-slim-bookworm

ENV PYTHONUNBUFFERED=1
ENV RUN_FEED=no
Expand Down
49 changes: 30 additions & 19 deletions client/package-lock.json

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

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"file-saver": "^2.0.2",
"lodash.get": "^4.4.2",
"vee-validate": "^3.3.9",
"vue": "^2.6.11",
"vue": "^2.7.16",
"vue-chartjs": "^3.5.1",
"vue-i18n": "^8.28.2",
"vue-material-design-icons": "^4.9.0",
Expand Down