Compare commits
No commits in common. "7feee07d35a3ffc56593f403bd8797dc27f24fe6" and "c79ada2123bdec008ffc8a103936a6a2016b20fb" have entirely different histories.
7feee07d35
...
c79ada2123
@ -1,11 +1,2 @@
|
|||||||
.browserslistrc
|
|
||||||
.dockerignore
|
|
||||||
.drone.yml
|
|
||||||
.editorconfig
|
|
||||||
.git
|
.git
|
||||||
.gitignore
|
|
||||||
.reuse
|
|
||||||
Dockerfile
|
|
||||||
LICENSES
|
|
||||||
README.md
|
|
||||||
node_modules
|
node_modules
|
||||||
|
16
Dockerfile
16
Dockerfile
@ -4,25 +4,17 @@
|
|||||||
|
|
||||||
FROM node:14-alpine as builder
|
FROM node:14-alpine as builder
|
||||||
|
|
||||||
COPY package.json package-lock.json .
|
COPY . ./
|
||||||
RUN npm install
|
|
||||||
|
|
||||||
COPY .eslintrc.js .
|
|
||||||
COPY babel.config.js .
|
|
||||||
COPY public public
|
|
||||||
COPY src src
|
|
||||||
|
|
||||||
RUN npm ci && npm run build
|
RUN npm ci && npm run build
|
||||||
|
|
||||||
|
|
||||||
FROM nginx as ki-frontend
|
FROM nginx as ki-frontend
|
||||||
|
|
||||||
|
COPY --from=builder /dist/ /usr/share/nginx/html/
|
||||||
|
COPY etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source=https://git.wtf-eg.de/kompetenzinventar/ki-frontend.git
|
LABEL org.opencontainers.image.source=https://git.wtf-eg.de/kompetenzinventar/ki-frontend.git
|
||||||
LABEL org.opencontainers.image.url=https://git.wtf-eg.de/kompetenzinventar/ki-frontend
|
LABEL org.opencontainers.image.url=https://git.wtf-eg.de/kompetenzinventar/ki-frontend
|
||||||
LABEL org.opencontainers.image.documentation=https://git.wtf-eg.de/kompetenzinventar/ki-frontend#docker
|
LABEL org.opencontainers.image.documentation=https://git.wtf-eg.de/kompetenzinventar/ki-frontend#docker
|
||||||
LABEL org.opencontainers.image.vendor="WTF Kooperative eG"
|
LABEL org.opencontainers.image.vendor="WTF Kooperative eG"
|
||||||
|
|
||||||
WORKDIR /usr/share/nginx/html
|
|
||||||
|
|
||||||
COPY etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
|
|
||||||
COPY --from=builder /dist .
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user