build-deploy workflow hinzugefügt.
All checks were successful
Angular Build & Deploy / deploy (push) Successful in 2m3s
All checks were successful
Angular Build & Deploy / deploy (push) Successful in 2m3s
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:20 AS build
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
RUN npm run build -- --configuration=production
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY --from=build /app/dist/OMDSAngularWebClient/browser /usr/share/nginx/html
|
||||
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user