fix(frontend): Dockerfile for build
This commit is contained in:
parent
3e33bb797a
commit
61968f7f82
1 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,11 @@
|
||||||
# ---- Stage 1: Build Angular Frontend ----
|
# ---- Stage 1: Build Angular Frontend ----
|
||||||
FROM node:24-slim AS frontend-build
|
FROM node:24-slim AS frontend-build
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
default-jre-headless \
|
||||||
|
ca-certificates \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /app/eeg_frontend
|
WORKDIR /app/eeg_frontend
|
||||||
|
|
||||||
COPY eeg_frontend/package.json eeg_frontend/package-lock.json* ./
|
COPY eeg_frontend/package.json eeg_frontend/package-lock.json* ./
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue