test
This commit is contained in:
parent
60aeecd430
commit
40da316708
10
Dockerfile
10
Dockerfile
@ -1,10 +1,10 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM node:20-alpine AS frontend-build
|
||||
WORKDIR /app/webapp/frontend
|
||||
|
||||
COPY webapp/frontend/package.json webapp/frontend/package-lock.json ./
|
||||
RUN npm ci
|
||||
# Ensure devDependencies (like Vite) are installed so the build command works
|
||||
RUN npm ci --include=dev
|
||||
|
||||
COPY webapp/frontend/ ./
|
||||
RUN npm run build
|
||||
@ -19,9 +19,9 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# RUN apt-get update \
|
||||
# && apt-get install -y --no-install-recommends libgomp1 \
|
||||
# && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends libgomp1 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY pyproject.toml setup.py README.md ./
|
||||
COPY src ./src
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user