Merge branch 'feature/chatSettingsComponent' of https://github.com/joschuatonn/praxistransferFrontend into feature/chatSettingsComponent

This commit is contained in:
joschuatonn
2024-06-03 15:20:15 +02:00

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
# build stage
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# production stage
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist/spa/ /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]