Marco Zeisler ff4b3508d8 move template to ./template;
setup django middleware;
setup angular frontend;
wire django and angular together;
2020-11-17 19:34:25 +01:00

18 lines
201 B
Docker

# Stage 1
FROM node:alpine AS build-image
WORKDIR /app
COPY . .
RUN npm ci && npm run build
# Stage 2
FROM nginx:alpine
COPY --from=build-image /app/dist/app-fe /usr/share/nginx/html
EXPOSE 80