This commit is contained in:
parent
0f02f367f5
commit
d79a1528b2
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
FROM docker.io/library/node AS build
|
FROM docker.io/library/node AS build
|
||||||
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV ASTRO_TELEMETRY_DISABLED=true
|
ENV ASTRO_TELEMETRY_DISABLED=true
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
@ -8,5 +9,5 @@ FROM git.swablab.de/swablab/documents AS documents
|
||||||
|
|
||||||
FROM docker.io/nginxinc/nginx-unprivileged
|
FROM docker.io/nginxinc/nginx-unprivileged
|
||||||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=build ./dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
COPY --from=documents / /usr/share/nginx/html/docs
|
COPY --from=documents / /usr/share/nginx/html/docs
|
Loading…
Add table
Reference in a new issue