feat:#59 add dev deployment and use gitlab registry

This commit is contained in:
Elmar Kresse
2024-04-21 01:29:18 +02:00
parent 4e3cbd1861
commit 657aca005b
5 changed files with 335 additions and 18 deletions

View File

@@ -18,9 +18,9 @@
FROM node:lts-alpine AS build
WORKDIR /app
COPY frontend/package*.json ./
COPY package*.json ./
RUN npm ci
COPY frontend/ ./
COPY / ./
RUN npm run build
# development stage
@@ -37,6 +37,6 @@ FROM bitnami/nginx:1.25 AS prod
# copy build files from build container
COPY --from=build /app/dist /app
COPY ./frontend/nginx.conf /opt/bitnami/nginx/conf/nginx.conf
COPY ./nginx.conf /opt/bitnami/nginx/conf/nginx.conf
EXPOSE 8000