mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-07 12:19:14 +02:00
feat:#59 add dev deployment and use gitlab registry
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user