mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
19 lines
407 B
Docker
19 lines
407 B
Docker
FROM registry.access.redhat.com/ubi10/nodejs-24-minimal
|
|
|
|
ENV TZ="Europe/Helsinki"
|
|
# Default install location is node_modules/.vite which is not writable
|
|
# by user 1001 when binding the local files to the container
|
|
ENV VITE_CACHE_DIR=/tmp/vite
|
|
|
|
WORKDIR /opt/app-root/shared
|
|
COPY ./shared .
|
|
RUN npm ci
|
|
|
|
WORKDIR /opt/app-root/frontend
|
|
COPY ./frontend .
|
|
RUN npm ci
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["node_modules/.bin/vite"]
|